UNPKG

mysterium-tequilapi

Version:
19 lines (17 loc) 579 B
// @flow /** * Flowtype definitions for interface * Generated by Flowgen from a Typescript Definition * Flowgen v1.5.8 * Author: [Joar Wilk](http://twitter.com/joarwilk) * Repo: http://github.com/joarwilk/flowgen */ export interface HttpQueryParams { [s: string]: any; } export interface HttpInterface { get(path: string, query?: HttpQueryParams, timeout?: number): Promise<any>; post(path: string, data?: any, timeout?: number): Promise<any>; delete(path: string, timeout?: number): Promise<any>; put(path: string, data: any, timeout?: number): Promise<any>; }