Add type definition of setInlayHintsOptions

This commit is contained in:
troy351 2021-09-23 14:19:23 +08:00 committed by GitHub
parent 1a0d39eb31
commit 68f15991cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

4
monaco.d.ts vendored
View file

@ -284,6 +284,10 @@ declare namespace monaco.languages.typescript {
* 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 {
/** /**