Commit Graph
17 Commits
Author SHA1 Message Date
Andy Hanson 45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Andy bef4d2b27d Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Andy 19f89399e4 Ensure every package has a tslint.json (#21009)
* Ensure every package has a tslint.json

* Fixes
2017-10-25 11:13:50 -07:00
Alvis Tang 547f6713f1 highland: add missing definitions & correct some others (#20446)
* chore(highland): add Alvis Tang as an author

* fix(highland): correct the definition of push

A push function should have a type of
```ts
(err: Error | null, x?: R | Highland.Nil) => void
```
such that it can accept
```ts
push(null, _nil);
```
to signal the end of the stream.

* fix(highland): add the missing defintion of uniq and uniqBy

See http://highlandjs.org/#uniq

* fix(highland): correct the definition of each

As a special case, `done` is allowed to attach to the stream after `each`.
See http://highlandjs.org/#each

* fix(highland): correct the definition of merge

The merge function should not take any argument. Also the return of a merged
stream should be the union type of the origins.

See http://highlandjs.org/#merge

* fix(highland): add the missing definition of toPromise.

See http://highlandjs.org/#toPromise
2017-10-13 15:10:28 -07:00
Robert K. Bell 5cadfa2d5d [highland] Add the through stream method (#20508)
* feat: add `through` stream method

[docs](http://highlandjs.org/#through)

* doc: remove noisy todo
2017-10-12 13:48:31 -07:00
Andy 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Robert K. Bell dda381f715 fix tests: ratelimit doesn't change the type 2017-09-06 09:10:42 +10:00
Robert K. Bell 2bfeb65308 fix: actually use same type as stream object 2017-09-05 18:21:11 +10:00
Robert K. Bell 615e801485 fix: use same generic type as Stream object 2017-09-05 11:01:08 +10:00
Robert K. Bell 2b06c17b43 add ratelimit method 2017-09-04 12:23:57 +10:00
Andy 924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
Andy 5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07:00
William Yu df76e5b02e remove extraneous separators 2017-06-15 09:51:56 -04:00
William Yu 2a84d1c7fb reorganize members alphabetically, grouped by @section that's listed at highlandjs.org 2017-06-14 15:59:06 -04:00
William Yu 70d63f0d9f Adding types
added consumers: done, toCallback
added transforms: batch, batchWithTimeOrCount, doto, drop, findWhere, tap
added interfaces: PipeableStream and PipeOptions (neither are being used)
2017-06-14 14:47:18 -04:00
Hugo Wood 5dcda0ca0b highland: add support for mapping hints
Also fixes the signature of _(source) for the Event Emitter case. The signature was missing the first parameter.

Closes #13727.
2017-05-15 14:21:46 +02:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00