Skip to content

Commit c97c8f4

Browse files
committed
chore: add script for type check
- Adds a new npm script "type-check" that runs `tsc` with the `--noEmit` option to only check types.
1 parent 116cbe1 commit c97c8f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"scripts": {
1313
"build": "rollup -c && api-extractor run --local",
1414
"build:tsc": "tsc",
15+
"type-check": "tsc --noEmit",
1516
"prepare": "npm run build",
1617
"doc": "npm run build && api-documenter markdown --input-folder ./temp --output-folder ./api-docs/markdown",
1718
"test": "echo \"Error: no test specified\" && exit 1"

0 commit comments

Comments
 (0)