mirror of https://github.com/ANL-CEEESA/RELOG.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
434 B
6 lines
434 B
import type { StateCreator, StoreMutatorIdentifier } from '../vanilla';
|
|
type Write<T, U> = Omit<T, keyof U> & U;
|
|
type Combine = <T extends object, U extends object, Mps extends [StoreMutatorIdentifier, unknown][] = [], Mcs extends [StoreMutatorIdentifier, unknown][] = []>(initialState: T, additionalStateCreator: StateCreator<T, Mps, Mcs, U>) => StateCreator<Write<T, U>, Mps, Mcs>;
|
|
export declare const combine: Combine;
|
|
export {};
|