ember-cli-typescript
ember-cli-typescript copied to clipboard
Newly installed app doesn't get @types/ember__destroyable
Which package(s) does this problem pertain to?
- [x] Other
(Your bug form doesn't include @types/ember__destroyable)
What are instructions we can follow to reproduce the issue?
Create a new Ember app with ember 4.1, add ember-cli-typescript including running its blueprint.
Now about that bug. What did you expect to see?
Try to import from @ember/destroyable in your app. It's a type error.
You can manually install @types/ember__destroyable to solve the problem.
Ah, thanks for this! Should be a small, easy fix for anyone who wants to pick it up—just needs to get added to the list here:
https://github.com/typed-ember/ember-cli-typescript/blob/0d5b85563bc1217c5d4fe6b6b701974a2de7d7a6/ts/blueprints/ember-cli-typescript/index.js#L149