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
[countries-and-timezones] Add typings for v2.0 #39052
[countries-and-timezones] Add typings for v2.0 #39052
Conversation
👋 Hi there! I’ve run some quick measurements against master and your PR. These metrics should help the humans reviewing this PR gauge whether it might negatively affect compile times or editor responsiveness for users who install these typings. Let’s review the numbers, shall we? countries-and-timezones/v2These 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 countries-and-timezones with its source on master. Comparison details for countries-and-timezones/v2 📊
countries-and-timezones/v1Comparison details for countries-and-timezones/v1 📊
It looks like nothing changed too much. I won’t post performance data again unless it gets worse. |
@pokonski Thank you for submitting this PR! 🔔 @zero51 - please review this PR in the next few days. Be sure to explicitly select If no reviewer appears after a week, a DefinitelyTyped maintainer will review the PR instead. |
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.
I think it shouldn’t be necessary to preserve the v1 typings. The only reason to do that is if the v1 typings will need to be serviced more in the future—usually this is only done for extremely popular libraries that have to keep shipping updates to older versions. Since (I’m assuming) v1 of countries-and-timezones will probably not receive new changes from here on, v1 of @types/countries-and-timezones doesn’t need to be updated either.
@pokonski 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 d877546. These 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 countries-and-timezones with its source on master. Comparison details 📊
|
🔔 @andrewbranch - Thanks for your review of this PR! Can you please look at the new code and update your review status if appropriate? |
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.
Thanks!
I just published |
* [countries-and-timezones] Add typings for v2.0 * Fix path mapping * Fix copy pasta mistake * Remove v1 typings
Please fill in this template.
npm test
.)npm run lint package-name
(ortsc
if notslint.json
is present).tslint.json
containing{ "extends": "dtslint/dt.json" }
. If for reason the any 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.