-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I'm not really sure but as for declaration:
export class FeedZebra {
public static readonly type = '[Animals] Feed zebra';
constructor(public payload: string) {}
}can it be used as:
@Action(Add)
public add({ getState, setState }: StateContext<AnimalsStateModel>, (...)?
or should it be:
@Action(FeedZebra)
public add({ getState, setState }: StateContext<AnimalsStateModel>, (...)?
or even:
@Action(FeedZebra)
public feedZebra({ getState, setState }: StateContext<AnimalsStateModel>, (...)?
Metadata
Metadata
Assignees
Labels
No labels