UNPKG

selective-option

Version:
9 lines 622 B
import type { KeyList, Resolved } from '../types/resolver-types'; export declare function createResult<K extends string, V>(keys: KeyList<K>, value: V): Resolved<K, V>; /** * @deprecated */ export declare function deprecatedCreateResult<K extends string, V>(keys: KeyList<K>, value: V, input: undefined | Resolved<K, V>): Resolved<K, V>; export declare function deprecatedCreateResult<K extends string, V>(keys: KeyList<K>, value: V): Resolved<K, V>; export declare function createResultGetValue<K extends string, V>(keys: KeyList<K>, getValue: (key: K) => V): Resolved<K, V>; //# sourceMappingURL=create-result.d.ts.map