import
s don't resolve#topic-typescript
on the Ember Community Discord server and we'll be happy to help you.Component
in Ember Octane..hbs
file to bind to the layout of any components they export. The TypeScript compiler will report that it cannot resolve the module, since it does not know how to resolve files ending in .hbs
. To resolve this, you can provide this set of definitions to my-addon/types/global.d.ts
, which will allow the import to succeed:send
method: