diff --git a/package.json b/package.json index 77194f5..f0c4d2a 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "scripts": { "format": "prettier --write .", "lint": "eslint --cache .", - "typecheck": "tsc --noEmit && tsc --noEmit -p tests/types/tsconfig.json", + "typecheck": "tsc --noEmit", "build": "pnpm run lint && rollup -c rollup.config.ts --configPlugin typescript" }, "simple-git-hooks": { diff --git a/tests/types/fixtures/text.txt b/tests/types/fixtures/text.txt deleted file mode 100644 index 8850cc6..0000000 --- a/tests/types/fixtures/text.txt +++ /dev/null @@ -1 +0,0 @@ -Raw text fixture. diff --git a/tests/types/node-imports.ts b/tests/types/node-imports.ts deleted file mode 100644 index 936e60c..0000000 --- a/tests/types/node-imports.ts +++ /dev/null @@ -1,7 +0,0 @@ -import 'electron-vite/node' -import raw from './fixtures/text.txt?raw' - -export const text: string = raw - -// @ts-expect-error Raw imports return strings, not Node.js buffers. -export const buffer: Buffer = raw diff --git a/tests/types/tsconfig.json b/tests/types/tsconfig.json deleted file mode 100644 index 07a91bb..0000000 --- a/tests/types/tsconfig.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "types": ["node"], - "noUncheckedSideEffectImports": true - }, - "include": ["./node-imports.ts"] -}