Skip to content

Commit

Permalink
test: add script to type check fixtures (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
metonym authored Oct 25, 2024
1 parent c50f64c commit b005412
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
Binary file modified bun.lockb
Binary file not shown.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"types": "./lib/index.d.ts",
"scripts": {
"test": "bun test",
"test:fixtures-types": "bun --bun tsc --project tsconfig.fixtures.json",
"test:e2e": "bun tests/test-e2e.ts",
"format": "bun --bun prettier --write \".\" --cache",
"build": "bun --bun tsc"
Expand All @@ -24,7 +25,7 @@
"typescript": "^5.5.4"
},
"devDependencies": {
"@types/bun": "^1.1.9",
"@types/bun": "^1.1.12",
"@types/jest": "^29.5.13",
"@types/prettier": "^2.7.3",
"prettier-plugin-svelte": "^2.10.1"
Expand Down
11 changes: 11 additions & 0 deletions tsconfig.fixtures.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"compilerOptions": {
"noEmit": true,
"target": "ESNext",
"module": "CommonJS",
"moduleResolution": "node",
"strict": true,
"types": []
},
"include": ["tests/fixtures/**/*.d.ts"]
}

0 comments on commit b005412

Please sign in to comment.