Last active
February 23, 2018 05:12
-
-
Save msarsha/8165f5b9b471b9cdeba98b9a0dd978a5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Injectable() | |
export class NastyService { | |
constructor() { | |
} | |
doNastyOperation(key: any) { | |
switch (key) { | |
case 1: | |
// logic | |
case 2: | |
// logic | |
case 3: | |
// logic | |
case 4: | |
// logic | |
default: | |
// logic | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment