Remove superfluous /// <reference types="node" />#44037
Remove superfluous /// <reference types="node" />#44037jakebailey merged 9 commits intoDefinitelyTyped:masterfrom
Conversation
|
@jablko Thank you for submitting this PR! 🔔 @peterblazejewicz @rogierschouten @remisery @wilfredtan @CjS77 @ebk46 @KonstantinLukaschenko @moeinio @rogatty @AJamesPhillips @jineshshah36 @TimonVS @danielmachado @PaulLockwood @kryops @AndrewGaspar @jvilk @leonard-thieu @LinusU @raybooysen @rsamec @adierkens @dimitardanailov @ulrichheiniger @harm-less @netroy @ffflorian @flying-sheep @avin-kavish @me @nickiannone @johnjbarton @JipSterk @VincentLanglet @kerimdzhanov @nicojs @SomaticIT @cortopy @jkleinsc @shiftkey @malept @tkqubo @harryshipton @bschlenk @Erikma @borislavjivkov @cyrilschumacher @levibostian @Alorel @xbim @Leko @Bartvds @mrmlnc @liorm @GiedriusGrabauskas @amanmahajan7 @jordyvandortmont @silkentrance @tomc974 @k-kagurazaka @tkrotoff @AyaMorisawa @DanielRosenwasser @ntnyq @maxfouquet @Mikhus @TokugawaTakesi @peterjuras @shantmarouti @pine @joeskeen @tscpp @agnislav @yuma84 @Aqours @tkqubo @favna @ChristopherHaws @jedmao @saboya @todd @BlooJeans @pocesar @gaetansenn @jimlloyd @hrl7 @darti @nickp10 @PlayMa256 @stevehipwell @danwbyrne @ChaosinaCan @jgeurts @Perlmint @TotooriaHyperion @bczengel @chrootsu @stepancar @aj-r @e-cloud @thorn0 @jtmthf @DomiR @WilliamChelman @stephenlautier @sampsonjoliver @andipaetzold @JiriBalcar @CodeLenny @ngbrown @theigor @alitaheri @herrmanno @DaIgeb @allienna @schlesingermatthias @InsidersByte @artyomsv @dan-j @minodisk @samwalshnz @reggino @kostap13 @tjuric @nokutu @yoursunny @dex4er @bioball @bacali95 @dagams @khell @zopf @iamolegga @coolreader18 @Rolandisimo @Just1B @nebrius @Aankhen @dthunell @petejohanson @Patrick-Erichsen @trevormcdonald @l-jonas @BendingBender @LucianBuzzo @ajafff @ExE-Boss @hados99 @marcinporebski @bricka @Igorbek @Igmat @lavoaster @Jessidhia @jkillian @eps1lon @flavordaaave @wagerfield @Lazyuki @mgoszcz2 @danilofuchs @forabi @clementallen @kristians-salna @thislooksfun @alan-agius4 @johnnyreilly @vvakame @nchen63 @bitjson @grinich @iclanton @bumbleblym @rynclark @mtraynham @garthk @eoin-obrien @yuanxu - 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. |
|
A definition owner has approved this PR ⭐️. A maintainer will merge this PR shortly. If it shouldn't be merged yet, please leave a comment saying so and we'll wait. Thank you for your contribution to DefinitelyTyped! |
|
Is this ready for merging? (It's still marked as "draft") |
|
@elibarzilay Thanks for looking at this! It turns out that not all of these are superfluous. I'm working on a revision. |
|
Can't we go by a "if it's not broken, don't fix it" approach? Why do we need to remove superfluous types? |
|
Leaving it in causes |
ff52fb9 to
e04896a
Compare
c9b5479 to
9ca1c38
Compare
|
@jablko should we kill or proceed? Maybe we can split this into less problematic, more transparent changes first? (it would take longer though) |
|
@jablko Thank you for submitting this PR! This is a live comment which I will keep updated. 20 packages in this PR
Code ReviewsBecause this is a widely-used package, a DT maintainer will need to review it before it can be merged. You can test the changes of this PR in the Playground. Status
Once every item on this list is checked, I'll ask you for permission to merge and publish the changes. InactiveThis PR has been inactive for 1411 days — it is still unreviewed! Diagnostic Information: What the bot saw about this PR{
"type": "info",
"now": "-",
"pr_number": 44037,
"author": "jablko",
"headCommitOid": "175586e8a5d33b7865033af79f7b30dbf56fc37f",
"mergeBaseOid": "7881f270415e5e53da0885636bc225cce73ada1e",
"lastPushDate": "2020-04-20T00:28:58.000Z",
"lastActivityDate": "2024-03-01T00:17:14.000Z",
"hasMergeConflict": false,
"isFirstContribution": false,
"tooManyFiles": false,
"hugeChange": false,
"popularityLevel": "Critical",
"pkgInfo": [
{
"name": "aws-param-store",
"kind": "edit",
"files": [
{
"path": "types/aws-param-store/index.d.ts",
"kind": "definition"
},
{
"path": "types/aws-param-store/package.json",
"kind": "package-meta-ok"
}
],
"owners": [
"jasonthomasgray",
"nathanoertel"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
},
{
"name": "boom",
"kind": "edit",
"files": [
{
"path": "types/boom/v3/index.d.ts",
"kind": "definition"
},
{
"path": "types/boom/v3/package.json",
"kind": "package-meta-ok"
}
],
"owners": [
"AJamesPhillips",
"jineshshah36",
"TimonVS",
"danielmachado"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Popular"
},
{
"name": "chai-fs",
"kind": "edit",
"files": [
{
"path": "types/chai-fs/index.d.ts",
"kind": "definition"
},
{
"path": "types/chai-fs/package.json",
"kind": "package-meta-ok"
}
],
"owners": [
"dimitardanailov"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
},
{
"name": "chai-json-schema",
"kind": "edit",
"files": [
{
"path": "types/chai-json-schema/index.d.ts",
"kind": "definition"
},
{
"path": "types/chai-json-schema/package.json",
"kind": "package-meta-ok"
}
],
"owners": [
"ulrichheiniger"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
},
{
"name": "chai-uuid",
"kind": "edit",
"files": [
{
"path": "types/chai-uuid/index.d.ts",
"kind": "definition"
},
{
"path": "types/chai-uuid/package.json",
"kind": "package-meta-ok"
}
],
"owners": [
"harm-less"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
},
{
"name": "http-aws-es",
"kind": "edit",
"files": [
{
"path": "types/http-aws-es/index.d.ts",
"kind": "definition"
},
{
"path": "types/http-aws-es/package.json",
"kind": "package-meta-ok"
}
],
"owners": [
"marcogrcr"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
},
{
"name": "mandrill-api",
"kind": "edit",
"files": [
{
"path": "types/mandrill-api/index.d.ts",
"kind": "definition"
},
{
"path": "types/mandrill-api/package.json",
"kind": "package-meta-ok"
}
],
"owners": [
"pocesar"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
},
{
"name": "mobile-messaging-cordova",
"kind": "edit",
"files": [
{
"path": "types/mobile-messaging-cordova/index.d.ts",
"kind": "definition"
},
{
"path": "types/mobile-messaging-cordova/package.json",
"kind": "package-meta-ok"
}
],
"owners": [
"kostap13",
"tjuric"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
},
{
"name": "rollup-plugin-buble",
"kind": "edit",
"files": [
{
"path": "types/rollup-plugin-buble/index.d.ts",
"kind": "definition"
},
{
"path": "types/rollup-plugin-buble/package.json",
"kind": "package-meta-ok"
}
],
"owners": [
"Kocal"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
},
{
"name": "rollup-plugin-json",
"kind": "edit",
"files": [
{
"path": "types/rollup-plugin-json/index.d.ts",
"kind": "definition"
},
{
"path": "types/rollup-plugin-json/package.json",
"kind": "package-meta-ok"
}
],
"owners": [
"asmockler",
"hotell"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
},
{
"name": "rollup-plugin-peer-deps-external",
"kind": "edit",
"files": [
{
"path": "types/rollup-plugin-peer-deps-external/index.d.ts",
"kind": "definition"
},
{
"path": "types/rollup-plugin-peer-deps-external/package.json",
"kind": "package-meta-ok"
}
],
"owners": [
"fobdy",
"maxbogus"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
},
{
"name": "rollup-plugin-progress",
"kind": "edit",
"files": [
{
"path": "types/rollup-plugin-progress/index.d.ts",
"kind": "definition"
},
{
"path": "types/rollup-plugin-progress/package.json",
"kind": "package-meta-ok"
}
],
"owners": [
"favna"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
},
{
"name": "rollup-plugin-size-snapshot",
"kind": "edit",
"files": [
{
"path": "types/rollup-plugin-size-snapshot/index.d.ts",
"kind": "definition"
},
{
"path": "types/rollup-plugin-size-snapshot/package.json",
"kind": "package-meta-ok"
}
],
"owners": [
"maxbogus"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
},
{
"name": "rollup-plugin-url",
"kind": "edit",
"files": [
{
"path": "types/rollup-plugin-url/index.d.ts",
"kind": "definition"
},
{
"path": "types/rollup-plugin-url/package.json",
"kind": "package-meta-ok"
}
],
"owners": [
"me"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
},
{
"name": "rollup-plugin-visualizer",
"kind": "edit",
"files": [
{
"path": "types/rollup-plugin-visualizer/index.d.ts",
"kind": "definition"
},
{
"path": "types/rollup-plugin-visualizer/package.json",
"kind": "package-meta-ok"
}
],
"owners": [
"fobdy",
"maxbogus"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
},
{
"name": "rollup__plugin-virtual",
"kind": "edit",
"files": [
{
"path": "types/rollup__plugin-virtual/index.d.ts",
"kind": "definition"
},
{
"path": "types/rollup__plugin-virtual/package.json",
"kind": "package-meta-ok"
}
],
"owners": [
"ahum"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
},
{
"name": "styled-components",
"kind": "edit",
"files": [
{
"path": "types/styled-components/v3/index.d.ts",
"kind": "definition"
},
{
"path": "types/styled-components/v3/package.json",
"kind": "package-meta-ok"
}
],
"owners": [
"Igorbek",
"Igmat",
"Jessidhia",
"jkillian",
"eps1lon",
"wagerfield",
"Lazyuki",
"lifeiscontent",
"acdr"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Popular"
},
{
"name": "svgr__rollup",
"kind": "edit",
"files": [
{
"path": "types/svgr__rollup/index.d.ts",
"kind": "definition"
},
{
"path": "types/svgr__rollup/package.json",
"kind": "package-meta-ok"
}
],
"owners": [
"fobdy",
"maxbogus"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
},
{
"name": "uglify-js",
"kind": "edit",
"files": [
{
"path": "types/uglify-js/package.json",
"kind": "package-meta-ok"
},
{
"path": "types/uglify-js/uglify-js-tests.ts",
"kind": "test"
}
],
"owners": [
"alan-agius4",
"tkrotoff",
"johnnyreilly",
"peterblazejewicz"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Critical"
},
{
"name": "zui",
"kind": "edit",
"files": [
{
"path": "types/zui/package.json",
"kind": "package-meta-ok"
},
{
"path": "types/zui/zui-tests.ts",
"kind": "test"
}
],
"owners": [
"yuanxu"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Well-liked by everyone"
}
],
"reviews": [
{
"type": "stale",
"reviewer": "shiftkey",
"date": "2020-04-20T12:19:35.000Z",
"abbrOid": "fcdfe0c"
}
],
"mainBotCommentID": 1972142920,
"ciResult": "pass"
} |
People who would have been pingedjasonthomasgray nathanoertel Azure AJamesPhillips jineshshah36 TimonVS danielmachado dimitardanailov ulrichheiniger harm-less SpartanLabs ramondeklein stephentuso xbim marcogrcr pocesar mathieudutour kostap13 tjuric rogierschouten dex4er bioball Kocal asmockler hotell kocal fobdy maxbogus favna me ahum everettcaleb azatoth geoffreak Igorbek Igmat Jessidhia jkillian eps1lon wagerfield Lazyuki lifeiscontent acdr alan-agius4 tkrotoff johnnyreilly peterblazejewicz e-cloud domdomegg cjbarth felix-hoc yuanxu |
|
@shiftkey 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? |
|
It has been more than two weeks and this PR still has no reviews. I'll bump it to the DT maintainer queue. Thank you for your patience, @jablko. (Ping @jasonthomasgray, @nathanoertel, @AJamesPhillips, @jineshshah36, @TimonVS, @danielmachado, @dimitardanailov, @ulrichheiniger, @harm-less, @marcogrcr, @pocesar, @kostap13, @tjuric, @Kocal, @asmockler, @Hotell, @fobdy, @maxbogus, @favna, @me, @ahum, @Igorbek, @Igmat, @Jessidhia, @jkillian, @eps1lon, @wagerfield, @Lazyuki, @lifeiscontent, @ACDR, @alan-agius4, @tkrotoff, @johnnyreilly, @peterblazejewicz, @yuanxu.) |
The package I was reviewing is no longer part of this PR, so I'm going to ignore these latest commits |
|
Yep, sorry about that; the woes of resurrecting an ancient PR. |
|
A lot of these are cases where they really do pull in node types, but now do it indirectly afterwards. I will probably modify this PR to remove those cases as I think the indirect loading is probably not the best thing to have. |
|
🔔 @jasonthomasgray @nathanoertel @AJamesPhillips @jineshshah36 @TimonVS @danielmachado @dimitardanailov @ulrichheiniger @harm-less @marcogrcr @pocesar @kostap13 @tjuric @Kocal @asmockler @Hotell @fobdy @maxbogus @favna @me @ahum @Igorbek @Igmat @Jessidhia @jkillian @eps1lon @wagerfield @Lazyuki @lifeiscontent @ACDR @alan-agius4 @tkrotoff @johnnyreilly @peterblazejewicz @yuanxu — please review this PR in the next few days. Be sure to explicitly select |
npm test.)npm run lint package-name(ortscif notslint.jsonis present).