8 lines
288 B
TypeScript
8 lines
288 B
TypeScript
import type { Action } from '../interfaces.js';
|
|
export declare type State = string[];
|
|
export interface DirtyHandlerIdPayload {
|
|
targetIds: string[];
|
|
prevTargetIds: string[];
|
|
}
|
|
export declare function reduce(_state: State | undefined, action: Action<DirtyHandlerIdPayload>): State;
|