Skip to content

Commit

Permalink
Add typings
Browse files Browse the repository at this point in the history
  • Loading branch information
pouya-eghbali committed Mar 27, 2024
1 parent c0e5d38 commit 8f50fa6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "2.0.0",
"description": "",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"lint": "tslint -p tsconfig.json",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"outDir": "dist",
"typeRoots": ["./node_modules/@types", "./src/types"]
"typeRoots": ["./node_modules/@types", "./src/types"],
"declaration": true
},
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Recommended"
Expand Down

0 comments on commit 8f50fa6

Please sign in to comment.