-
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 types for spinnies
#59503
add types for spinnies
#59503
Conversation
@benjamincburns Thank you for submitting this PR! I see this is your first time submitting to DefinitelyTyped 👋 — I'm the local bot who will help you through the process of getting things through. This is a live comment which I will keep updated. 1 package in this PR
Code ReviewsThis PR adds a new definition, so it needs to be reviewed by a DT maintainer before it can be merged. You can test the changes of this PR in the Playground. Status
All of the items on the list are green. To merge, you need to post a comment including the string "Ready to merge" to bring in your changes. Diagnostic Information: What the bot saw about this PR{
"type": "info",
"now": "-",
"pr_number": 59503,
"author": "benjamincburns",
"headCommitOid": "e0b046f80c8cfc81f1a24e2cd339eb7c051cbc33",
"mergeBaseOid": "d6d658846c9659deea6898e60f687159f463b2dd",
"lastPushDate": "2022-03-30T02:01:09.000Z",
"lastActivityDate": "2022-03-31T00:39:49.000Z",
"mergeOfferDate": "2022-03-30T20:59:50.000Z",
"mergeRequestDate": "2022-03-31T00:39:49.000Z",
"mergeRequestUser": "benjamincburns",
"hasMergeConflict": false,
"isFirstContribution": true,
"tooManyFiles": false,
"hugeChange": false,
"popularityLevel": "Well-liked by everyone",
"pkgInfo": [
{
"name": "spinnies",
"kind": "add",
"files": [
{
"path": "types/spinnies/index.d.ts",
"kind": "definition"
},
{
"path": "types/spinnies/spinnies-tests.ts",
"kind": "test"
},
{
"path": "types/spinnies/tsconfig.json",
"kind": "package-meta-ok"
},
{
"path": "types/spinnies/tslint.json",
"kind": "package-meta-ok"
}
],
"owners": [],
"addedOwners": [
"benjamincburns"
],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
}
],
"reviews": [
{
"type": "approved",
"reviewer": "peterblazejewicz",
"date": "2022-03-30T20:59:11.000Z",
"isMaintainer": true
},
{
"type": "stale",
"reviewer": "kerolloz",
"date": "2022-03-28T05:22:00.000Z",
"abbrOid": "0aae6d3"
}
],
"mainBotCommentID": 1080095439,
"ciResult": "pass"
} |
🔔 @benjamincburns — you're the only owner, but it would still be good if you find someone to review this PR in the next few days, otherwise a maintainer will look at it. (And if you do find someone, maybe even recruit them to be a second owner to make future changes easier...) |
status?: SpinnerStatus | undefined; https://devblogs.microsoft.com/typescript/announcing-typescript-4-4/#exact-optional-property-types
{
"private": true,
"dependencies": {
"chalk": "^2.4.2"
}
} https://github.com/DefinitelyTyped/DefinitelyTyped#packagejson |
@peterblazejewicz I'm not sure I understand your recommended change here. I don't think it's a valid/desirable use case to assign If anything, it's probably more correct for me to rewrite both interfaces as having no optional fields, but change all method signatures that accept those two types as arguments to accepting |
Unfortunately |
@peterblazejewicz, @kerolloz Thank you for reviewing this PR! The author has pushed new commits since your last review. Could you take another look and submit a fresh review? |
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.
LGTM!
@benjamincburns thx!
@benjamincburns: Everything looks good here. I am ready to merge this PR (at e0b046f) on your behalf whenever you think it's ready. If you'd like that to happen, please post a comment saying:
and I'll merge this PR almost instantly. Thanks for helping out! ❤️ |
@kerolloz Thank you for reviewing this PR! The author has pushed new commits since your last review. Could you take another look and submit a fresh review? |
Ready to merge |
Please fill in this template.
npm test <package to test>
.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 contain{ "extends": "@definitelytyped/dtslint/dt.json" }
, and no additional rules.tsconfig.json
should havenoImplicitAny
,noImplicitThis
,strictNullChecks
, andstrictFunctionTypes
set totrue
.