updux/dist/tutorial/todoList.d.ts

36 lines
938 B
TypeScript
Raw Normal View History

2025-01-31 18:16:41 +00:00
import Updux from '../index.js';
declare const _default: Updux<{
subduxes: {
todos: 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;
};
}>;
nextId: Updux<{
initialState: number;
actions: {
incNextId: any;
};
selectors: {
getNextId: (state: any) => any;
};
}>;
};
actions: {
addTodo: (description: string) => string;
};
}>;
export default _default;