Skip to content

Commit

Permalink
Add skipLibCheck parameter to test:types scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
kudlajz committed Nov 19, 2024
1 parent 93d3701 commit 86bbd0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/slate-lists/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"test:unit": "mocha --exit --config ../../.mocha/config.cjs './src/**/*.test.{ts,tsx}'",
"test:build": "pnpm test:esm && pnpm test:types",
"test:esm": "node --input-type module -e \" import '../../.mocha/mockDOM.cjs'; import './build/index.js'; \" ",
"test:types": "tsc --noEmit --esModuleInterop build/index.d.ts",
"test:types": "tsc --noEmit --esModuleInterop --skipLibCheck build/index.d.ts",
"clean": "pnpm clean:build && pnpm clean:node_modules",
"clean:node_modules": "rimraf node_modules/",
"clean:build": "rimraf build/ *.tsbuildinfo"
Expand Down
2 changes: 1 addition & 1 deletion packages/slate-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"test": "pnpm test:build",
"test:build": "pnpm test:esm && pnpm test:types",
"test:esm": "node build/index.js",
"test:types": "tsc --noEmit build/index.d.ts",
"test:types": "tsc --noEmit --skipLibCheck build/index.d.ts",
"clean": "pnpm clean:build && pnpm clean:node_modules",
"clean:node_modules": "rimraf node_modules/",
"clean:build": "rimraf build/ *.tsbuildinfo"
Expand Down

0 comments on commit 86bbd0b

Please sign in to comment.