mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 17:25:39 +01:00
Adopt latest monaco-editor-core
This commit is contained in:
parent
73295879a4
commit
7bd4d2543f
6 changed files with 9 additions and 8 deletions
|
|
@ -122,6 +122,7 @@ const javascriptDefaults = new LanguageServiceDefaultsImpl(
|
|||
{ noSemanticValidation: true, noSyntaxValidation: false });
|
||||
|
||||
|
||||
// Export API
|
||||
function createAPI(): typeof monaco.languages.typescript {
|
||||
return {
|
||||
ModuleKind: ModuleKind,
|
||||
|
|
@ -133,6 +134,7 @@ function createAPI(): typeof monaco.languages.typescript {
|
|||
javascriptDefaults: javascriptDefaults
|
||||
}
|
||||
}
|
||||
monaco.languages.typescript = createAPI();
|
||||
|
||||
// --- Registration to monaco editor ---
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue