caolan / async

Async utilities for node and the browser
http://caolan.github.io/async/
MIT License
28.16k stars 2.41k forks source link

Add Type Definitions #1831

Open jpike88 opened 2 years ago

jpike88 commented 2 years ago

See title.

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

Troublor commented 2 years ago

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

justarandomgeek commented 2 years ago

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

aearly commented 10 months ago

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.

mnpenner commented 10 months ago

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.

jeandat commented 3 months ago

Types would be nice indeed.