Skip to content

Instantly share code, notes, and snippets.

@matthew-gerstman
Created August 23, 2018 14:42
Show Gist options
  • Select an option

  • Save matthew-gerstman/81a26bbfbe2ffd616dd7a836ef2c3198 to your computer and use it in GitHub Desktop.

Select an option

Save matthew-gerstman/81a26bbfbe2ffd616dd7a836ef2c3198 to your computer and use it in GitHub Desktop.
export const enum WizardActionTypes {
Hydrate = "WIZARD/HYDRATE",
LearnSpell = "WIZARD/LEARN_SPELL",
KillParents = "WIZARD/KILL_PARENTS"
}
export interface HydrateWizardsAction extends AnyAction {
type: WizardActionTypes.Hydrate;
payload: WizardNamespaceShape;
}
export type WizardAction =
| HydrateWizardsAction
| LearnSpellAction
| KillParentsAction;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment