File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
packages/editor/src/runtime/editor Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ export function getDefaultSandboxCompilerOptions(
37
37
noUnusedLocals : false ,
38
38
noUnusedParameters : false ,
39
39
40
+ allowSyntheticDefaultImports : false ,
40
41
esModuleInterop : false ,
41
42
preserveConstEnums : false ,
42
43
removeComments : false ,
@@ -48,13 +49,14 @@ export function getDefaultSandboxCompilerOptions(
48
49
49
50
importHelpers : false ,
50
51
51
- experimentalDecorators : true ,
52
- emitDecoratorMetadata : true ,
52
+ experimentalDecorators : false ,
53
+ emitDecoratorMetadata : false ,
53
54
moduleResolution : typescript . ModuleResolutionKind . NodeJs ,
54
55
55
- target : typescript . ScriptTarget . ES2017 ,
56
+ target : typescript . ScriptTarget . ES2020 ,
56
57
jsx : typescript . JsxEmit . React ,
57
58
module : typescript . ModuleKind . AMD ,
59
+ // typeRoots: ["node_modules/@types"],
58
60
} ;
59
61
60
62
return settings ;
You can’t perform that action at this time.
0 commit comments