浏览代码

Add `LanguageServiceDefaults.setInlayHintsOptions`

Alex Dima 3 年之前
父节点
当前提交
e3a760e054
共有 1 个文件被更改,包括 5 次插入0 次删除
  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.
 	 * to the worker on start or restart.
 	 */
 	 */
 	getEagerModelSync(): boolean;
 	getEagerModelSync(): boolean;
+
+	/**
+	 * Configure inlay hints options.
+	 */
+	setInlayHintsOptions(options: InlayHintsOptions): void;
 }
 }
 
 
 export interface TypeScriptWorker {
 export interface TypeScriptWorker {