-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
Add definition types for 'ip6addr' npm package #44831
Add definition types for 'ip6addr' npm package #44831
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? 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 ip6addr with its source on master. Comparison details 📊
|
@slaweet Thank you for submitting this PR! I see this is your first time submitting to DefinitelyTyped 👋 - keep an eye on this comment as I'll be updating it with information as things progress. Code ReviewsThis PR adds a new definition, so it needs to be reviewed by a DT maintainer before it can be merged. 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": 44831,
"author": "slaweet",
"owners": [],
"dangerLevel": "ScopedAndConfiguration",
"headCommitAbbrOid": "74a762f",
"headCommitOid": "74a762fa344fb393896343733ce56e067b2bcf1b",
"mergeIsRequested": false,
"stalenessInDays": 0,
"lastCommitDate": "2020-05-19T05:22:02.000Z",
"reopenedDate": "2020-05-19T05:17:20.000Z",
"lastCommentDate": "2020-05-19T05:22:02.000Z",
"reviewLink": "https://github.com/DefinitelyTyped/DefinitelyTyped/pull/44831/files",
"hasMergeConflict": false,
"authorIsOwner": false,
"isFirstContribution": true,
"popularityLevel": "Well-liked by everyone",
"anyPackageIsNew": true,
"packages": [
"ip6addr"
],
"files": [
{
"filePath": "types/ip6addr/index.d.ts",
"kind": "definition",
"package": "ip6addr"
},
{
"filePath": "types/ip6addr/ip6addr-tests.ts",
"kind": "test",
"package": "ip6addr"
},
{
"filePath": "types/ip6addr/tsconfig.json",
"kind": "package-meta",
"package": "ip6addr"
},
{
"filePath": "types/ip6addr/tslint.json",
"kind": "package-meta",
"package": "ip6addr"
}
],
"hasDismissedReview": false,
"travisResult": "pass",
"reviewersWithStaleReviews": [],
"approvalFlags": 0,
"isChangesRequested": false
} |
I just published |
Please fill in this template.
npm test
.)npm run lint package-name
(ortsc
if notslint.json
is present).Select one of these and delete the others:
If adding a new definition:
.d.ts
files generated via--declaration
dts-gen --dt
, not by basing it on an existing project.tslint.json
should 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.json
should havenoImplicitAny
,noImplicitThis
,strictNullChecks
, andstrictFunctionTypes
set totrue
.