Skip to content

Instantly share code, notes, and snippets.

@logalleon
Last active October 1, 2018 17:47
Show Gist options
  • Save logalleon/c18b3e61d4821c95566000a72c0ae61c to your computer and use it in GitHub Desktop.
Save logalleon/c18b3e61d4821c95566000a72c0ae61c to your computer and use it in GitHub Desktop.
function fn (status: DwarfStatus): void {
switch (status) {
case DwarfStatus.ACTIVE:
/* ... do things */
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment