Skip to content

Instantly share code, notes, and snippets.

@logalleon
Created October 1, 2018 17:45
Show Gist options
  • Save logalleon/d2e8b4b244e2e84d9e2371014ddaf637 to your computer and use it in GitHub Desktop.
Save logalleon/d2e8b4b244e2e84d9e2371014ddaf637 to your computer and use it in GitHub Desktop.
function fn (status: DwarfStatus): void {
switch (status) {
case DwarfStatus.ACTIVE:
break;
case DwarfStatus.NO_DESTINATION:
break;
case DwarfStatus.NO_JOB:
break;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment