File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,8 @@ export function getDefaultSandboxCompilerOptions(
2424 strictBindCallApply : true ,
2525 noImplicitThis : true ,
2626 noImplicitReturns : true ,
27- noUncheckedIndexedAccess : false ,
27+ noUncheckedIndexedAccess : true ,
28+ exactOptionalPropertyTypes : true ,
2829
2930 // 3.7 off, 3.8 on I think
3031 useDefineForClassFields : false ,
@@ -85,7 +86,8 @@ export const getCompilerOptionsFromParams = (
8586 let toSet = undefined
8687 if ( val === "true" && playgroundDefaults [ key ] !== true ) {
8788 toSet = true
88- } else if ( val === "false" && ( playgroundDefaults [ key ] as any ) !== false ) { // TODO(jakebailey): remove as any, check undefined above
89+ } else if ( val === "false" && ( playgroundDefaults [ key ] as any ) !== false ) {
90+ // TODO(jakebailey): remove as any, check undefined above
8991 toSet = false
9092 } else if ( ! isNaN ( parseInt ( val , 10 ) ) && playgroundDefaults [ key ] !== parseInt ( val , 10 ) ) {
9193 toSet = parseInt ( val , 10 )
You can’t perform that action at this time.
0 commit comments