serverless-spy
Version:
CDK-based library for writing elegant integration tests on AWS serverless architecture and an additional web console to monitor events in real time.
17 lines (16 loc) • 421 B
TypeScript
/**
* @internal
* Alias prevents compiler from turning
* ReadableStream into ReadableStream<any>, which is incompatible
* with the NodeJS.ReadableStream global type.
*/
type ReadableStreamType = ReadableStream;
/**
* @internal
*/
export declare const isReadableStream: (stream: unknown) => stream is ReadableStreamType;
/**
* @internal
*/
export declare const isBlob: (blob: unknown) => blob is Blob;
export {};