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.
14 lines
469 B
14 lines
469 B
import { StateCreator, StoreMutatorIdentifier } from '../vanilla';
|
|
type Write<T, U> = Pick<T, Exclude<keyof 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 {};
|