getify/asynquence

A Typescript definitions file would be great

開放

#45 建立於 2014年6月22日

 (3 則留言) (1 個反應) (0 位負責人)JavaScript (156 個分叉)batch import
help wanted

倉庫指標

星標
 (1,739 顆星)
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.

貢獻者指南