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
{{ message }}
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.
Can you please define what specifically is broken? Does it not compile? Does it emit compilation warnings/errors? Does it compile but error at runtime?
Sorry my bad. It compiles just fine. But when the route tries to import, it errors at run time with
"Cannot import module from 'ember-ajax/errors'"
Only occurs with typescript. Otherwise it works just fine.
So here's a little bit of a background. I am trying to convert one of the in-repo-engine to use typescript. The base app and another in-repo-addon that hosts the shared code, are both written in Javascript. This shared addon is exposing ember-ajax.
When I try to compile and run with typescript I face #428 and this issue. While #428 seems to be resolved in master, this issue remains.
Checked against master. Trying to
import { AjaxError } from 'ember-ajax/errors';
is broken while usingember-cli-typescript
ember: ~3.8.0
ember-cli: ~3.8.1
ember-ajax: ^4.0.2 and master
ember-cli-typescript: v2.0.0-rc2
Might be related to #428
The text was updated successfully, but these errors were encountered: