UNPKG

mockttp-mvs

Version:

Mock HTTP server for testing HTTP clients and stubbing webservices

9 lines (8 loc) 466 B
/// <reference types="node" /> export declare function nthIndexOf(input: string, matcher: string, n: number): number; export declare function byteLength(input: string | Uint8Array | Buffer): number; export declare function delay(t: number): Promise<void>; export declare const isWorker: boolean; export declare const isWeb: boolean; export declare const isNode: string | false; export declare const makePropertyWritable: <T>(obj: T, property: keyof T) => T;