Skip to content

Commit 94ed134

Browse files
committed
fix: 'test:types' script command
1 parent c38c7e3 commit 94ed134

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"test": "vitest run",
3131
"test:coverage": "vitest run --coverage",
3232
"test:ui": "vitest --ui",
33-
"test:types": "tsd",
33+
"test:types": "tsd --files test/index.test-d.tsx",
3434
"build": "tsup src/index.ts --format cjs,esm --dts",
3535
"lint": "tsc --project tsconfig.build.json",
3636
"lint:all": "tsc",

tsd.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"directory": "test",
32
"compilerOptions": {
43
"strict": true,
54
"jsx": "react-jsx",

0 commit comments

Comments
 (0)