From 5447a0fcd2f4093530e4be13fa95cc9a8c35bd12 Mon Sep 17 00:00:00 2001 From: Samuel Macleod Date: Fri, 9 Aug 2024 11:04:26 +0100 Subject: [PATCH] fixup typechecking --- packages/workers-editor-shared/package.json | 2 +- packages/workers-editor-shared/tsconfig.json | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/workers-editor-shared/package.json b/packages/workers-editor-shared/package.json index e9359b6491b2..187421836b59 100644 --- a/packages/workers-editor-shared/package.json +++ b/packages/workers-editor-shared/package.json @@ -24,7 +24,7 @@ "scripts": { "build": "tsc && vite build", "check:lint": "eslint lib --max-warnings=0", - "check:type": "tsc", + "check:type": "tsc && tsc -p tsconfig.node.json --noEmit", "dev": "vite" }, "dependencies": { diff --git a/packages/workers-editor-shared/tsconfig.json b/packages/workers-editor-shared/tsconfig.json index 7e4642350b90..4254608d6beb 100644 --- a/packages/workers-editor-shared/tsconfig.json +++ b/packages/workers-editor-shared/tsconfig.json @@ -7,15 +7,12 @@ "lib": ["ES2020", "DOM", "DOM.Iterable"], "module": "ESNext", "skipLibCheck": true, - // "preserveSymlinks": true, "moduleResolution": "Node", "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, "jsx": "react-jsx", "allowSyntheticDefaultImports": true, - - /* Linting */ "strict": true }, "include": ["lib"],