mockttp
Version:
Mock HTTP server for testing HTTP clients and stubbing webservices
8 lines • 461 B
TypeScript
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;
//# sourceMappingURL=util.d.ts.map