UNPKG

ix

Version:

The Interactive Extensions for JavaScript

1 lines 563 B
{"version":3,"sources":["interfaces.ts"],"names":[],"mappings":"","file":"interfaces.js","sourcesContent":["export type UnaryFunction<T, R> = (source: T) => R;\n\nexport type OperatorFunction<T, R> = UnaryFunction<Iterable<T>, Iterable<R>>;\n\nexport type OperatorAsyncFunction<T, R> = UnaryFunction<AsyncIterable<T>, AsyncIterable<R>>;\n\nexport type MonoTypeOperatorFunction<T> = OperatorFunction<T, T>;\n\nexport type MonoTypeOperatorAsyncFunction<T> = OperatorAsyncFunction<T, T>;\n\n/** @ignore */\nexport type BufferLike = string | Buffer | Uint8Array;\n"]}