async icon indicating copy to clipboard operation
async copied to clipboard

Add Type Definitions

Open jpike88 opened this issue 3 years ago • 5 comments
trafficstars

See title.

@types/async definitions are way out of date, would be better for everyone if you guys integrated them into your main project

jpike88 avatar Apr 22 '22 02:04 jpike88

Agree, it's annoying when encounter outdated type definitions.

Troublor avatar Jun 02 '22 03:06 Troublor

Indeed, it fairly effectively prevents any reasonable usage of newer features from TypeScript...

justarandomgeek avatar Jun 08 '22 14:06 justarandomgeek

I've considered a re-write in TS (or at least adding Typedoc comments to everything and generating a .d.ts automatically). It would be a lot of work though.

aearly avatar Dec 02 '23 22:12 aearly

Fwiw there are tools to convert JS to TS. It'll add "any" to any types it's not sure about but it's a bit quicker than doing by hand.

mnpenner avatar Dec 03 '23 03:12 mnpenner