From f88e2946cd90bedf28e43e4d4a18dc85a9902264 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Fri, 12 Jul 2024 00:33:27 +0800 Subject: [PATCH] chore: typecheck --- package.json | 1 + tsconfig.json | 13 +++++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 697dda1..356d9ae 100644 --- a/package.json +++ b/package.json @@ -142,6 +142,7 @@ "dev": "tsup src/*.ts --watch src", "lint": "eslint .", "lint:fix": "nr lint --fix", + "typecheck": "tsc", "play": "npm -C playground run dev", "prepublishOnly": "nr build", "release": "bumpp && pnpm publish", diff --git a/tsconfig.json b/tsconfig.json index 8c545bd..0bcec31 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,6 +8,15 @@ "resolveJsonModule": true, "strict": true, "strictNullChecks": true, - "esModuleInterop": true - } + "noEmit": true, + "esModuleInterop": true, + "skipDefaultLibCheck": true, + "skipLibCheck": true + }, + "exclude": [ + "test/fixtures", + "test/fixtures-*", + "examples", + "playground" + ] }