Skip to content

Commit

Permalink
Merge pull request #456 from XantreGodlike/ts-fix
Browse files Browse the repository at this point in the history
Fixed typescript error from resolving unspecified in exports map .ts file
  • Loading branch information
rschristian authored Nov 29, 2023
2 parents 70ef4bb + deb0111 commit 03bb907
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/wise-toes-joke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@preact/signals-react": patch
---

Ensure types are resolved against built `.d.ts` rather than source `.ts`
2 changes: 1 addition & 1 deletion packages/react/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
useComputed,
useSignalEffect,
installAutoSignalTracking,
} from "../runtime/src/index"; // TODO: This duplicates runtime code between main and sub runtime packages
} from "@preact/signals-react/runtime"; // TODO: This duplicates runtime code between main and sub runtime packages

export {
signal,
Expand Down

0 comments on commit 03bb907

Please sign in to comment.