diff --git a/package.json b/package.json index d089b579..8dbb4bc5 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "lint": "npm run lint:oxlint && npm run lint:format && npm run lint:types && npm run lint:compat", "lint:oxlint": "oxlint --max-warnings 0 .", "lint:format": "oxfmt --check .", - "lint:types": "tsc --noEmit --project types && tstyche", + "lint:types": "tstyche", "lint:compat": "eslint", "test": "npm run build && vitest run --project node --project tasks --project rspack --coverage", "test:browser": "vitest run --project browser", diff --git a/tstyche.config.json b/tstyche.config.json deleted file mode 100644 index c497ad0d..00000000 --- a/tstyche.config.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "testFileMatch": ["types/__typetests__/**/*.tst.ts"], - "tsconfig": "./types/tsconfig.json" -} diff --git a/types/tsconfig.json b/types/tsconfig.json index 181b36e3..4e871344 100644 --- a/types/tsconfig.json +++ b/types/tsconfig.json @@ -2,16 +2,14 @@ "compilerOptions": { "module": "commonjs", "lib": ["es6"], - "noImplicitAny": true, - "noImplicitThis": true, - "strictNullChecks": true, - "strictFunctionTypes": true, + "exactOptionalPropertyTypes": true, + "noUncheckedIndexedAccess": true, + "strict": true, "noEmit": true, - "baseUrl": ".", "types": [], "paths": { - "handlebars": ["."] + "handlebars": ["../"] } } }