Skip to content

Commit

Permalink
type declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
KamyarTaher committed Oct 2, 2024
1 parent edc6fb9 commit cfb2227
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"files": [
"dist"
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"dev": "rollup -c -w",
Expand Down
5 changes: 4 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@
"noFallthroughCasesInSwitch": true,
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"types": ["jest", "node"]
"types": ["jest", "node"],
"declaration": true,
"declarationMap": true,
"emitDeclarationOnly": false,
},
"include": ["src/**/*", "tests/**/*"],
"exclude": ["node_modules", "dist"]
Expand Down

0 comments on commit cfb2227

Please sign in to comment.