UNPKG

data-interchange

Version:
5 lines (4 loc) 432 B
import { Interchange, InterchangeOptions, InterchangeSourceAuxiliary, InterchangeSourcePrimary, ReadAction } from "./types"; export declare type Sources<T> = [InterchangeSourcePrimary<T>, ...InterchangeSourceAuxiliary[]]; export declare const READ_RESULT_DEFAULT: (res: any) => ReadAction.Fallback | ReadAction.Return; export declare function createInterchange<T>(sources: Sources<T>, options?: InterchangeOptions): Interchange<T>;