Przeglądaj źródła

Add `LanguageServiceDefaults.setInlayHintsOptions`

Alex Dima 3 lat temu
rodzic
commit
e3a760e054
1 zmienionych plików z 5 dodań i 0 usunięć
  1. 5 0
      src/monaco.contribution.ts

+ 5 - 0
src/monaco.contribution.ts

@@ -309,6 +309,11 @@ export interface LanguageServiceDefaults {
 	 * to the worker on start or restart.
 	 */
 	getEagerModelSync(): boolean;
+
+	/**
+	 * Configure inlay hints options.
+	 */
+	setInlayHintsOptions(options: InlayHintsOptions): void;
 }
 
 export interface TypeScriptWorker {