-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Ship own types (copy from DT) #380
Conversation
@@ -84,7 +86,7 @@ | |||
"release-it": "^14.11.6", | |||
"release-it-lerna-changelog": "^3.1.0", | |||
"rimraf": "^3.0.2", | |||
"typescript": "^4.4.4", | |||
"typescript": "^5.0.4", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like this didn't change -- I didn't even check if this project already had TS available 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! This needs a couple small tweaks, but 👍🏼 overall and the effort is much appreciated.
…efault of 12 -- TS 5.1 does not support node 12
Copies the types and type-tests from DT, here: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ember__string
This PR enables folks using
ember-source@v5
to use the built-in types and not have to install@types/ember__string
prior to ember-source@v5, the types for ember-string were here: https://github.com/emberjs/ember.js/blob/v4.12.0/types/preview/%40ember/string/index.d.ts
but
ember-source@v5
removed@ember/string
, per deprecation plan.