typed-ember / glint

TypeScript powered tooling for Glimmer templates
https://typed-ember.gitbook.io/glint
MIT License
109 stars 51 forks source link

Adding `environment-ember-loose` to my `global.d.ts` file breaks the `TemplateFactory` import #652

Closed adc-mhaugen closed 10 months ago

adc-mhaugen commented 10 months ago

I have an example Ember 4.12 repo here: https://github.com/adc-mhaugen/generic-args.

When adding glint to this project the TemplateFactory import gives TS errors as soon as I add the environment-ember-loose import:

Screenshot 2023-11-14 at 2 25 15 PM

Do I need to do that in some other glint friendly way?

Thanks!