mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 23:13:02 +01:00
add setEagerModelSync-function to defaults, fixes #461
This commit is contained in:
parent
9b5c885b40
commit
9542c9f433
3 changed files with 36 additions and 8 deletions
6
src/monaco.d.ts
vendored
6
src/monaco.d.ts
vendored
|
|
@ -136,6 +136,12 @@ declare module monaco.languages.typescript {
|
|||
* mean never shut down.
|
||||
*/
|
||||
setMaximunWorkerIdleTime(value: number): void;
|
||||
|
||||
/**
|
||||
* Configure if all existing models should be eagerly sync'd
|
||||
* to the worker on start or restart.
|
||||
*/
|
||||
setEagerModelSync(value: boolean): void;
|
||||
}
|
||||
|
||||
export var typescriptDefaults: LanguageServiceDefaults;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue