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

fix(typescript): resolve types when using 'bundler' as 'moduleResolution#17

Open
christian-bromann wants to merge 1 commit into
GoogleChromeLabs:mainfrom
christian-bromann:cb/resolve-types
Open

fix(typescript): resolve types when using 'bundler' as 'moduleResolution#17
christian-bromann wants to merge 1 commit into
GoogleChromeLabs:mainfrom
christian-bromann:cb/resolve-types

Conversation

@christian-bromann
Copy link
Copy Markdown

I am using a Vite setup which has "moduleResolution": "bundler", in its tsconfig.json. I am not sure if it is because of that but TypeScript can't get the types resolved. Adding "types" to the custom export does the trick.

@Josh-a-e
Copy link
Copy Markdown

Bump - would appreciate this getting merged in 🙏

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants