20 lines
460 B
TypeScript
20 lines
460 B
TypeScript
import Updux from '../index.js';
|
|
declare const _default: Updux<{
|
|
initialState: {
|
|
id: number;
|
|
description: string;
|
|
done: boolean;
|
|
}[];
|
|
actions: {
|
|
addTodoWithId: (description: any, id: any) => {
|
|
description: any;
|
|
id: any;
|
|
};
|
|
todoDone: (id: number) => number;
|
|
};
|
|
findSelectors: {
|
|
getTodoById: (state: any) => (id: any) => any;
|
|
};
|
|
}>;
|
|
export default _default;
|