[@types/node] spec
and lcov
in test/reporters
have incorrect types
#69289
Unanswered
yume-chan
asked this question in
Issues with a @types package
Replies: 1 comment
-
Thanks for the discussion about "node", some useful links for everyone: Pinging the DT module owners: @microsoft, @jkomyno, @alvis, @r3nya, @btoueg, @smac89, @Touffy, @DeividasBakanas, @eyqs, @Hannes-Magnusson-CK, @hoo29, @kjin, @ajafff, @islishude, @mwiktorczyk, @mohsen1, @galkin, @parambirs, @eps1lon, @ThomasdenH, @WilcoBakker, @wwwy3y3, @samuela, @kuehlein, @bhongy, @chyzwar, @trivikr, @yoursunny, @qwelias, @ExE-Boss, @peterblazejewicz, @addaleax, @victorperin, @ZYSzys, @nodejs, @LinusU, @wafuwafu13, @mcollina, @Semigradsky. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
From https://github.com/nodejs/node/blob/3f5ff8dc20bf6118454bc30e5384cfbd2fb4f398/lib/test/reporters.js:
spec
is a function that returns aTransform
.lcov
is an instance ofLcovReporter
class. (maybe it's a bug in Node.js, because all other exports are functions nodejs/node#52385).In
@types/node
, they are both class constructors:DefinitelyTyped/types/node/test.d.ts
Lines 1451 to 1464 in 3dbe816
Beta Was this translation helpful? Give feedback.
All reactions