Repository navigation
[@types/ember] add ember__template - #38571
Conversation
|
@scottkidder Thank you for submitting this PR! Because this is a new definition, a DefinitelyTyped maintainer will be reviewing this PR in the next few days once the Travis CI build passes. In the meantime, if the build fails or a merge conflict occurs, I'll let you know. Have a nice day! |
|
A definition owner has approved this PR ⭐️. A maintainer will merge this PR shortly. If it shouldn't be merged yet, please leave a comment saying so and we'll wait. Thank you for your contribution to DefinitelyTyped! |
|
👋 Hi there! I’ve run some quick performance metrics against master and your PR. This is still an experiment, so don’t panic if I say something crazy! I’m still learning how to interpret these metrics. Let’s review the numbers, shall we? ember/v3Comparison details for ember/v3 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. ember__template/v3These typings are for a package that doesn’t yet exist on master, so I don’t have anything to compare against yet! In the future, I’ll be able to compare PRs to ember__template with its source on master. Comparison details for ember__template/v3 📊
If you have any questions or comments about me, you can ping |
jamescdavis
left a comment
There was a problem hiding this comment.
Looks pretty good, but I think we should move the SafeString type def here.
|
@typescript-bot Please don't merge this yet |
|
@jamescdavis I think I've properly moved Also I couldn't figure out a way to just re-export |
668a5d6 to
99b59e2
Compare
99b59e2 to
df52e9a
Compare
|
@scottkidder One or more reviewers has requested changes. Please address their comments. I'll be back once they sign off or you've pushed new commits or comments. Thank you! |
|
Updated numbers for you here from f0f112d: ember-data/v3Comparison details for ember-data/v3 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. ember-feature-flags/v4Comparison details for ember-feature-flags/v4 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. ember-mocha/v*Comparison details for ember-mocha/v* 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. ember-modal-dialog/v3Comparison details for ember-modal-dialog/v3 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. ember-qunit/v3Comparison details for ember-qunit/v3 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. ember-resolver/v5Comparison details for ember-resolver/v5 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. ember-test-helpers/v1Comparison details for ember-test-helpers/v1 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. ember/v3Comparison details for ember/v3 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. ember__template/v3These typings are for a package that doesn’t yet exist on master, so I don’t have anything to compare against yet! In the future, I’ll be able to compare PRs to ember__template with its source on master. Comparison details for ember__template/v3 📊
ember__string/v3Comparison details for ember__string/v3 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. ember__test-helpers/v*Comparison details for ember__test-helpers/v* 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. |
98f0f09 to
b1ceadc
Compare
|
@scottkidder The Travis CI build failed! Please review the logs for more information. Once you've pushed the fixes, the build will automatically re-run. Thanks! |
jamescdavis
left a comment
There was a problem hiding this comment.
Intypes/ember/index.d.tsunder namespace Handlebars need to:
- class SafeString extends EmberStringHandlebarsNs.SafeString {}
+ class SafeString extends EmberTemplateHandlebarsNs.SafeString {}|
Updated numbers for you here from d1fd801: ember-data/v3Comparison details for ember-data/v3 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. ember-feature-flags/v4Comparison details for ember-feature-flags/v4 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. ember-mocha/v*Comparison details for ember-mocha/v* 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. ember-modal-dialog/v3Comparison details for ember-modal-dialog/v3 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. ember-qunit/v3Comparison details for ember-qunit/v3 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. ember-resolver/v5Comparison details for ember-resolver/v5 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. ember-test-helpers/v1Comparison details for ember-test-helpers/v1 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. ember/v3Comparison details for ember/v3 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. ember__template/v3These typings are for a package that doesn’t yet exist on master, so I don’t have anything to compare against yet! In the future, I’ll be able to compare PRs to ember__template with its source on master. Comparison details for ember__template/v3 📊
ember__string/v3Comparison details for ember__string/v3 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. ember__test-helpers/v*Comparison details for ember__test-helpers/v* 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. |
|
Thanks @jamescdavis! I apologize for the delay here.. |
b1ceadc to
8c16f63
Compare
Co-Authored-By: Mike North <[email protected]>
8c16f63 to
1221e6d
Compare
|
🔔 @mike-north @jamescdavis - Thanks for your review of this PR! Can you please look at the new code and update your review status if appropriate? |
jamescdavis
left a comment
There was a problem hiding this comment.
Looks great! Thanks @scottkidder!
|
🔔 @mike-north - Thanks for your review of this PR! Can you please look at the new code and update your review status if appropriate? |
|
Updated numbers for you here from ca2a11e: ember-data/v3Comparison details for ember-data/v3 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. ember-feature-flags/v4Comparison details for ember-feature-flags/v4 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. ember-mocha/v*Comparison details for ember-mocha/v* 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. ember-modal-dialog/v3Comparison details for ember-modal-dialog/v3 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. ember-qunit/v3Comparison details for ember-qunit/v3 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. ember-resolver/v5Comparison details for ember-resolver/v5 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. ember-test-helpers/v1Comparison details for ember-test-helpers/v1 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. ember/v3Comparison details for ember/v3 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. ember__template/v3These typings are for a package that doesn’t yet exist on master, so I don’t have anything to compare against yet! In the future, I’ll be able to compare PRs to ember__template with its source on master. Comparison details for ember__template/v3 📊
ember__string/v3Comparison details for ember__string/v3 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. ember__test-helpers/v*Comparison details for ember__test-helpers/v* 📊
It looks like nothing changed too much. I’m pretty lenient since I’m still an experiment, so take a look anyways and make sure nothing looks out of place. |
|
Good to merge then? |
Yes |
|
I just published |
|
I just published |
|
I just published |
|
I just published |
|
I just published |
|
I just published |
|
I just published |
|
I just published |
|
I just published |
|
I just published |
Moved htmlSafe and isHTMLSafe into @ember/template where the official docs say they are.
npm test.)npm run lint package-name(ortscif notslint.jsonis present).Select one of these and delete the others:
If adding a new definition:
.d.tsfiles generated via--declarationdts-gen --dt, not by basing it on an existing project.tslint.jsonshould be present and it shouldn't have any additional or disabling of rules. Just content as{ "extends": "dtslint/dt.json" }. If for reason the some rule need to be disabled, disable it for that line using// tslint:disable-next-line [ruleName]and not for whole package so that the need for disabling can be reviewed.tsconfig.jsonshould havenoImplicitAny,noImplicitThis,strictNullChecks, andstrictFunctionTypesset totrue.