You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using ember-cli addons, even you've installed type definition file, typescript still cannot find the module.
For example, when using ember-cli-htmlbar-inline-precompile modules. Even you declare a module htmlbar-inline-precomple in your type definition file, since node_modules/htmlbar-inline-precompile does not exist, typescript cannot resolve it correctly.
When using ember-cli addons, even you've installed type definition file, typescript still cannot find the module.
For example, when using
ember-cli-htmlbar-inline-precompile
modules. Even you declare a modulehtmlbar-inline-precomple
in your type definition file, sincenode_modules/htmlbar-inline-precompile
does not exist, typescript cannot resolve it correctly.Here's a working sample: https://github.com/inkless/ember-test-app
Type definition is here:
https://github.com/inkless/ember-test-app/blob/master/app/types/ember-shim.d.ts
Test code is here: https://github.com/inkless/ember-test-app/blob/master/tests/integration/components/apple-pie/component-test.ts
The text was updated successfully, but these errors were encountered: