getify/asynquence

A Typescript definitions file would be great

Open

#45 opened on Jun 22, 2014

View on GitHub
 (3 comments) (1 reaction) (0 assignees)JavaScript (156 forks)batch import
help wanted

Repository metrics

Stars
 (1,739 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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.

Contributor guide