mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-11 08:07:15 +00:00
small ata fix
This commit is contained in:
@@ -1033,7 +1033,7 @@
|
||||
noSemanticValidation: false,
|
||||
noSyntaxValidation: false,
|
||||
noSuggestionDiagnostics: false,
|
||||
diagnosticCodesToIgnore: []
|
||||
diagnosticCodesToIgnore: [1108]
|
||||
})
|
||||
|
||||
languages.typescript.javascriptDefaults.setCompilerOptions({
|
||||
|
||||
@@ -136,6 +136,12 @@
|
||||
noLib: true,
|
||||
moduleResolution: languages.typescript.ModuleResolutionKind.NodeJs
|
||||
})
|
||||
languages.typescript.javascriptDefaults.setDiagnosticsOptions({
|
||||
noSemanticValidation: true,
|
||||
noSyntaxValidation: false,
|
||||
noSuggestionDiagnostics: false,
|
||||
diagnosticCodesToIgnore: [1108]
|
||||
})
|
||||
languages.typescript.javascriptDefaults.setExtraLibs([])
|
||||
|
||||
languages.json.jsonDefaults.setDiagnosticsOptions({
|
||||
|
||||
@@ -424,6 +424,13 @@
|
||||
moduleResolution: languages.typescript.ModuleResolutionKind.NodeJs
|
||||
})
|
||||
|
||||
languages.typescript.javascriptDefaults.setDiagnosticsOptions({
|
||||
noSemanticValidation: false,
|
||||
noSyntaxValidation: false,
|
||||
noSuggestionDiagnostics: false,
|
||||
diagnosticCodesToIgnore: [1108]
|
||||
})
|
||||
|
||||
languages.register({ id: 'template' })
|
||||
|
||||
// Register a tokens provider for the language
|
||||
|
||||
@@ -241,7 +241,7 @@ declare function validateAll(id: string, key: number): void;
|
||||
}
|
||||
|
||||
/** The current's app state */
|
||||
declare const state: ${JSON.stringify(state)};
|
||||
declare var state: Record<string, any> = ${JSON.stringify(state)};
|
||||
|
||||
/** The iterator within the context of a list */
|
||||
declare const iter: {index: number, value: any};
|
||||
|
||||
Reference in New Issue
Block a user