mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
allow static private field to have initializer
This commit is contained in:
parent
c908502644
commit
0a8f7085f3
@ -648,6 +648,7 @@ RED.editor.codeEditor.monaco = (function() {
|
||||
strictPropertyInitialization: true,
|
||||
strictFunctionTypes: true,
|
||||
strictBindCallApply: true,
|
||||
useDefineForClassFields: true,//permit class static fields with private name to have initializer
|
||||
moduleResolution: monaco.languages.typescript.ModuleResolutionKind.NodeJs,
|
||||
module: monaco.languages.typescript.ModuleKind.CommonJS,
|
||||
typeRoots: ["types"],
|
||||
|
Loading…
Reference in New Issue
Block a user