diff options
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package.json b/package.json index 0e2ccfe..e4f0298 100644 --- a/package.json +++ b/package.json @@ -18,10 +18,12 @@ "author": "Zhineng Li", "type": "module", "main": "dist/index.js", + "types": "dist/index.d.ts", "scripts": { "build": "tsc", "test": "jest", "test:watch": "jest --watch", + "test:types": "tsd --files tests/**/*.test-d.ts", "format": "prettier --write --cache ." }, "devDependencies": { @@ -31,6 +33,7 @@ "prettier": "3.6.2", "ts-jest": "^29.4.0", "ts-node": "^10.9.2", + "tsd": "^0.32.0", "typescript": "^5.8.3" } } |
