Skip to content

Commit

Permalink
Fix TypeScript error "Could not find a declaration file for module" (#84
Browse files Browse the repository at this point in the history
)

Co-authored-by: Eric Clemmons <[email protected]>
  • Loading branch information
otomad and ericclemmons authored Nov 2, 2024
1 parent a9db3e1 commit 06bff87
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/rare-pants-help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"click-to-react-component": patch
---

Fix TypeScript error "Could not find a declaration file for module"
5 changes: 4 additions & 1 deletion packages/click-to-react-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
"name": "click-to-react-component",
"version": "1.1.0",
"description": "Option+Click your React components in your browser to open the source file in VS Code",
"exports": "./src/index.js",
"exports": {
"import": "./src/index.js",
"types": "./src/types.d.ts"
},
"types": "src/types.d.ts",
"files": [
"src"
Expand Down

0 comments on commit 06bff87

Please sign in to comment.