mostjs / core

Most.js core event stream
http://mostcore.rtfd.io
MIT License
403 stars 36 forks source link

TypeScript & Flow Definitions incomplete for partial application #290

Open TylorS opened 5 years ago

TylorS commented 5 years ago

The functions zip, zipItems, snapshot, slice, scan, loop and combine all have invalid TypeScript definitions when using partial application. We'll want to use the same techniques describe in #288 to correct all our definitions.

briancavalier commented 5 years ago

The same seems to be true for flow defs. I think the same "tree" technique we chatted about will work for both TS and Flow.

Frikki commented 5 years ago

Added to the never-ending backlog.

raveclassic commented 5 years ago

TS part should be fixed in https://github.com/mostjs/core/pull/296

Frikki commented 4 years ago

I guess we only need flow definitions then?