[@types/node] return type AsyncLocalStorage.prototype.run
is incorrect
#69353
-
According to the document: https://nodejs.org/api/async_context.html#asynclocalstoragerunstore-callback-args
run(store: T, callback: (...args: any[]) => void, ...args: any[]): void; should be run<Args extends unknown[], R>(store: T, callback: (...args: Args) => R, ...args: Args): R; |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
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.
-
Oh sorry I found that it because duplicate node_modules in my repo |
Beta Was this translation helpful? Give feedback.
Oh sorry I found that it because duplicate node_modules in my repo