diff --git a/packages/playground-examples/copy/en/Playground/Config/New Compiler Defaults.ts b/packages/playground-examples/copy/en/Playground/Config/New Compiler Defaults.ts index 5f843de5ea64..d3c2c9f8d217 100644 --- a/packages/playground-examples/copy/en/Playground/Config/New Compiler Defaults.ts +++ b/packages/playground-examples/copy/en/Playground/Config/New Compiler Defaults.ts @@ -28,7 +28,7 @@ const defaultCompilerOptions = { noImplicitThis: true, noImplicitReturns: true, - alwaysStrict: true, + alwaysStrict: false, allowUnreachableCode: false, allowUnusedLabels: false, diff --git a/packages/sandbox/src/compilerOptions.ts b/packages/sandbox/src/compilerOptions.ts index 353b1d9fe2ae..51b8fddc3a26 100644 --- a/packages/sandbox/src/compilerOptions.ts +++ b/packages/sandbox/src/compilerOptions.ts @@ -24,7 +24,7 @@ export function getDefaultSandboxCompilerOptions(config: SandboxConfig, monaco: // 3.7 off, 3.8 on I think useDefineForClassFields: false, - alwaysStrict: true, + alwaysStrict: false, allowUnreachableCode: false, allowUnusedLabels: false,