Browse Source

Add type definition of `setInlayHintsOptions`

troy351 3 năm trước cách đây
mục cha
commit
68f15991cd
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      monaco.d.ts

+ 4 - 0
monaco.d.ts

@@ -284,6 +284,10 @@ declare namespace monaco.languages.typescript {
 		 * to the worker on start or restart.
 		 */
 		getEagerModelSync(): boolean;
+		/**
+		 * Configure inlay hints options.
+		 */
+		setInlayHintsOptions(options: InlayHintsOptions): void;
 	}
 	export interface TypeScriptWorker {
 		/**