-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incompatible with native ember-source
types
#1802
Comments
@ember/template
typesember-source
types
I can still reproduce the issue with Ember Intl I'm seeing the following errors:
Please find a reproduction here: https://github.com/jelhan/test-ember-intl-with-ember-native-types |
@jelhan Thanks for checking the latest version and providing a demo app. Between |
I can fix the issue by patching Ember Intl's types locally as the following: - import type { SafeString } from '@ember/template/-private/handlebars';
+ import type { SafeString } from '@ember/template'; - import type { EmberRunTimer } from '@ember/runloop/types';
+ import type { Timer as EmberRunTimer } from '@ember/runloop'; Not sure if those changes would work with types from |
Nice! Can you create a pull request to test the change in this repo? The CI, which lints the files in |
Please find the PR here: #1825 Sadly, the changes do not work with types published from |
ember-intl
is trying to importSafeString
from@ember/template/-private/handlebars
, which doesn't exist without having the@types/ember__template
package installed.It also tries to import
EmberRunTimer
from@ember/runloop/types
which fails as well.The text was updated successfully, but these errors were encountered: