From 4f00945c763bf081fc887404e8ddbdaef18ebb59 Mon Sep 17 00:00:00 2001 From: Katie Byers Date: Mon, 16 May 2022 21:43:21 -0700 Subject: [PATCH] clean up main tsconfigs --- packages/typescript/tsconfig.json | 5 +---- tsconfig.json | 7 ++----- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/packages/typescript/tsconfig.json b/packages/typescript/tsconfig.json index 217159d3b73c..6ffd79b4ccc7 100644 --- a/packages/typescript/tsconfig.json +++ b/packages/typescript/tsconfig.json @@ -8,18 +8,15 @@ "inlineSources": true, "isolatedModules": true, "lib": ["es6", "dom"], - // "module": "commonjs", // implied by "target" : "es5" "moduleResolution": "node", "noEmitHelpers": true, + "noErrorTruncation": true, "noFallthroughCasesInSwitch": true, - "noImplicitAny": true, "noImplicitReturns": true, - "noImplicitThis": true, "noImplicitUseStrict": true, "noUnusedLocals": true, "noUnusedParameters": true, "preserveWatchOutput": true, - "pretty": true, "sourceMap": true, "strict": true, "strictBindCallApply": false, diff --git a/tsconfig.json b/tsconfig.json index f2ffa0c4e07c..d3ca923d9e28 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,12 +2,9 @@ "extends": "./packages/typescript/tsconfig.json", "compilerOptions": { - // TODO: turn these on once we switch to only generating types once, using `tsconfig.types.json` - // "declaration": false, - // "declarationMap": false, - "allowSyntheticDefaultImports": true, + "declaration": false, + "declarationMap": false, "types": ["node"], - "noErrorTruncation": true // move me up to @sentry/typescript } }