UNPKG

@beenotung/tslib

Version:
10 lines (9 loc) 284 B
/** * Created by beenotung on 5/5/17. */ export declare type SupplierOrData<A> = A | (() => A); export declare function unwrapSupplierOrData<A>(x: SupplierOrData<A>): A; /** * to escape tslint:ban-types on Function * */ export declare type LossFunction = (...args: any[]) => any;