Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
@Injectable({ providedIn: 'root' })
export class TodoListActions {
constructor(private store: Store<TodoListState>) {}
public loadTodoList(): void { LoadTodoList());
public deleteTodo(id: string) { TodoItemDeleted(id));
public todoItemUpdated(id: string) { TodoItemDeleted(id));
public todoItemCompleted(id: string) { TodoItemCompleted(id));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment