getify/asynquence

A Typescript definitions file would be great

Open

#45 创建于 2014年6月22日

在 GitHub 查看
 (3 评论) (1 反应) (0 负责人)JavaScript (156 fork)batch import
help wanted

仓库指标

Star
 (1,739 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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.

贡献者指南