updux/dist/buildInitial/index.d.ts

5 lines
344 B
TypeScript
Raw Normal View History

2019-10-24 15:52:36 +00:00
import { Dictionary } from '../types';
declare function buildInitial<S extends number | string | boolean>(initial: S, subduxes?: Dictionary<undefined>): S;
declare function buildInitial<S extends object>(initial?: Partial<S>, subduxes?: Partial<S>): S extends object ? S : never;
export default buildInitial;
//# sourceMappingURL=index.d.ts.map