blob: 5465ed48a34c757fa9dc6179e2afe36a23f844c6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
import TodoStore from './store';
export const todosStore = new TodoStore();
export default function initTodos(stores: { todos?: any }, actions: any) {
// eslint-disable-next-line no-param-reassign
stores.todos = todosStore;
todosStore.start(stores, actions);
}
|