Skip to content

Instantly share code, notes, and snippets.

@darrenmothersele
Created December 20, 2018 14:06
Show Gist options
  • Save darrenmothersele/4bfad7aec7894d49722c38087eee047f to your computer and use it in GitHub Desktop.
Save darrenmothersele/4bfad7aec7894d49722c38087eee047f to your computer and use it in GitHub Desktop.
import { unionize } from 'unionize';
export const Actions = unionize({
Increment: {},
Decrement: {},
Reset: {},
}, { tag: 'type' });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment