Skip to content

Conversation

skyrpex
Copy link
Contributor

@skyrpex skyrpex commented Oct 24, 2022

TypeScript won't recognize the types specified in the "types" field from package.json if using "moduleResolution": Node16". Adding the types entry to the "exports" field works in that scenario.

@jsonnull
Copy link
Owner

@skyrpex Thanks for the fix! ❤️

@jsonnull jsonnull merged commit 6c0b801 into jsonnull:next Oct 28, 2022
@jsonnull
Copy link
Owner

@skyrpex This change is out in electron-trpc@0.2.0-next.4, let me know if you run into any more issues!

@skyrpex skyrpex deleted the patch-1 branch October 28, 2022 20:41
@skyrpex
Copy link
Contributor Author

skyrpex commented Oct 28, 2022

@skyrpex Thanks for the fix! ❤️

easy peasy 💪🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants