@reactivex/ix-esnext-esm
Version:
The Interactive Extensions for JavaScript
1 lines • 659 B
Source Map (JSON)
{"version":3,"sources":["interfaces.ts"],"names":[],"mappings":"","file":"interfaces.js","sourcesContent":["import { IterableX } from './iterable';\nimport { AsyncIterableX } from './asynciterable';\n\nexport type UnaryFunction<T, R> = (source: T) => R;\n\nexport type OperatorFunction<T, R> = UnaryFunction<Iterable<T>, IterableX<R>>;\n\nexport type OperatorAsyncFunction<T, R> = UnaryFunction<AsyncIterable<T>, AsyncIterableX<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"]}