Skip to content

Conversation

wagenet
Copy link
Contributor

@wagenet wagenet commented Aug 29, 2025

Glint V1 will pick up .d.ts files adjacent to a .gjs file because .gjs is transformed to .js behind the scenes. However, this does not work in Glint V2 and you must explicitly import with a .gjs extension in which case it looks for .gjs.d.ts or .d.gjs.ts. We should support both of these extensions in Glint v1 to make migration easier.

The integration test depends on v2-specific test utilities that are not available in the v1.x branch. The comprehensive unit tests in transform-manager.test.ts provide sufficient coverage.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant