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
feat: types for ellipsize ( npmjs.com/package/ellipsize) added #45006
feat: types for ellipsize ( npmjs.com/package/ellipsize) added #45006
Conversation
|
@natterstefan 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": 45006,
"author": "natterstefan",
"owners": [],
"dangerLevel": "ScopedAndConfiguration",
"headCommitAbbrOid": "178ca36",
"headCommitOid": "178ca36f9aed964ecde626aaec17b74658730312",
"mergeIsRequested": false,
"stalenessInDays": 4,
"lastCommitDate": "2020-05-23T13:35:14.000Z",
"lastCommentDate": "2020-05-23T13:35:14.000Z",
"reviewLink": "https://github.com/DefinitelyTyped/DefinitelyTyped/pull/45006/files",
"hasMergeConflict": false,
"authorIsOwner": false,
"isFirstContribution": true,
"popularityLevel": "Well-liked by everyone",
"anyPackageIsNew": true,
"packages": [
"ellipsize"
],
"files": [
{
"filePath": "types/ellipsize/ellipsize-tests.ts",
"kind": "test",
"package": "ellipsize"
},
{
"filePath": "types/ellipsize/index.d.ts",
"kind": "definition",
"package": "ellipsize"
},
{
"filePath": "types/ellipsize/tsconfig.json",
"kind": "package-meta",
"package": "ellipsize"
},
{
"filePath": "types/ellipsize/tslint.json",
"kind": "package-meta",
"package": "ellipsize"
}
],
"hasDismissedReview": false,
"travisResult": "pass",
"lastReviewDate": "2020-05-28T01:08:20.000Z",
"reviewersWithStaleReviews": [],
"approvalFlags": 4,
"isChangesRequested": false
} |
|
👋 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 ellipsize with its source on master. Comparison details 📊
|
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 |
|
You're welcome @amcasey! |
…itelyTyped#45006) * feat: types for ellipsize added * refactor: incorporate feedback of danger-public
…itelyTyped#45006) * feat: types for ellipsize added * refactor: incorporate feedback of danger-public
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 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.