Created
December 12, 2019 16:16
-
-
Save DazSanchez/8bdc471a8b301ab05f1b2656c549be4e 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
types = { | |
[TYPES_PRODUCT.COACHING]: 'tv', | |
[TYPES_PRODUCT.CONSULTING]: 'question_answer', | |
[TYPES_PRODUCT.CONFERENCE]: 'mic' | |
} | |
// ... | |
transform(type: string) { | |
return types[type]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment