浏览代码

Merge pull request #83 from troy351/main

Add type definition of `setInlayHintsOptions`
Alexandru Dima 3 年之前
父节点
当前提交
c33c68bdcc
共有 1 个文件被更改,包括 4 次插入0 次删除
  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 {
 		/**