source: frontend/node_modules/throat/index.js.flow

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 354 bytes
RevLine 
[9af201e]1// @flow
2
3declare function throat<TResult, TFn: (...args: Array<any>) => Promise<TResult>>(size: number, fn: TFn): TFn;
4declare function throat<TResult, TFn: (...args: Array<any>) => Promise<TResult>>(fn: TFn, size: number): TFn;
5declare function throat(size: number): <TResult>(fn: () => Promise<TResult>) => Promise<TResult>;
6
7module.exports = throat;
Note: See TracBrowser for help on using the repository browser.