Repository navigation
[xml] export additional types already defined - #44960
Conversation
|
@Shinigami92 Thank you for submitting this PR! This PR doesn't modify any tests, so it's hard to know what's being fixed, and your changes might regress in the future. Have you considered adding tests to cover the change you're making? Including tests allows this PR to be merged by yourself and the owners of this module. This can potentially save days of time for you. Code ReviewsThis PR can be merged once it's reviewed by a DT maintainer. Status
Once every item on this list is checked, I'll ask you for permission to merge and publish the changes. Diagnostic Information: What the bot saw about this PR{
"type": "info",
"now": "-",
"pr_number": 44960,
"author": "Shinigami92",
"owners": [
"YuJianrong"
],
"dangerLevel": "ScopedAndUntested",
"headCommitAbbrOid": "693a485",
"headCommitOid": "693a48562a4daab721aaae5955b06423a8c1ec31",
"mergeIsRequested": false,
"stalenessInDays": 0,
"lastCommitDate": "2020-05-21T15:47:15.000Z",
"lastCommentDate": "2020-05-21T18:45:22.000Z",
"reviewLink": "https://github.com/DefinitelyTyped/DefinitelyTyped/pull/44960/files",
"hasMergeConflict": false,
"authorIsOwner": false,
"isFirstContribution": false,
"popularityLevel": "Well-liked by everyone",
"anyPackageIsNew": false,
"packages": [
"xml"
],
"files": [
{
"filePath": "types/xml/index.d.ts",
"kind": "definition",
"package": "xml"
}
],
"hasDismissedReview": false,
"travisResult": "pass",
"lastReviewDate": "2020-05-21T18:20:05.000Z",
"reviewersWithStaleReviews": [],
"approvalFlags": 2,
"isChangesRequested": false
} |
|
🔔 @YuJianrong - please review this PR in the next few days. Be sure to explicitly select |
|
Thank you @typescript-bot 🙂 |
|
👋 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? Comparison details 📊
It looks like nothing changed too much. I won’t post performance data again unless it gets worse. |
|
Thank you @YuJianrong for your review 🙂 |
Please fill in this template.
npm test.)npm run lint package-name(ortscif notslint.jsonis present).Select one of these and delete the others:
If changing an existing definition:
tslint.jsoncontaining{ "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.I just used
declare moduleso I can import types likexml.XmlObjectin my own project and use it.