Created
June 1, 2018 03:54
-
-
Save windwp/836d2fcd1c77e0ca202b9abda9eac9c0 to your computer and use it in GitHub Desktop.
typescript snipplet
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
export namespace Data11 { | |
export type PlatformEnum = 'android' | 'ios' | 'windows'; | |
export const PlatformEnum = { | |
Android: 'android' as PlatformEnum, | |
Ios: 'ios' as PlatformEnum, | |
Windows: 'windows' as PlatformEnum | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment