getify/asynquence

A Typescript definitions file would be great

Aberta

#45 aberto em 22 de jun. de 2014

 (3 comentários) (1 reação) (0 responsável)JavaScript (156 forks)batch import
help wanted

Métricas do repositório

Stars
 (1.739 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 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.

Guia do colaborador