getify/asynquence

A Typescript definitions file would be great

Open

#45 aperta il 22 giu 2014

Vedi su GitHub
 (3 commenti) (1 reazione) (0 assegnatari)JavaScript (156 fork)batch import
help wanted

Metriche repository

Star
 (1739 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

I'll be using asynquence in Typescript in addition to Javascript.

A definition file is a header file. A file like this (asynquence.d.ts) would tell Typescript what the asynquence API looks like, so that it can auto-complete, give compiler errors if you pass the wrong type, leave off a parameter, etc. It will obviously take some familiarity with Typescript to write one. There are definition files for most popular frameworks/libraries: DefinitelyTyped project.

I will start playing with generating one, and will post back here if I have much luck.

Guida contributor