ember-cli-typescript icon indicating copy to clipboard operation
ember-cli-typescript copied to clipboard

Newly installed app doesn't get @types/ember__destroyable

Open ef4 opened this issue 3 years ago • 1 comments

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.

ef4 avatar Apr 01 '22 16:04 ef4

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

chriskrycho avatar Apr 01 '22 17:04 chriskrycho