Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit b71c964

Browse files
committed
fix(npm): add "types" entry to package.json
This fixes the ts error "error TS7016: Could not find a declaration file for module 'react-to-typescript-definitions'".
1 parent df5b264 commit b71c964

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: package.json

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "0.24.0",
44
"description": "Create typescript definitions files (d.ts) from react components",
55
"main": "dist/src/index.js",
6+
"types": "dist/src/index.d.ts",
67
"bin": {
78
"react2dts": "cli.js"
89
},

0 commit comments

Comments
 (0)