UNPKG

fully-optional

Version:
5 lines 315 B
import { Optional } from './types'; export declare function withDefaultLazy<T, R>(value: Optional<T>, defaultValueFn: () => R): T | R; export declare function withDefaultLazy<T, R>(defaultValueFn: () => R): (value: Optional<T>) => T | R; export default withDefaultLazy; //# sourceMappingURL=withDefaultLazy.d.ts.map