Last active
October 21, 2018 21:48
-
-
Save ryancat/41406f58a5b5e8ed75a35ea725a5e019 to your computer and use it in GitHub Desktop.
typescript migration demo
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
// module types | |
export enum ModuleType { | |
Smart = 'smart', | |
Dumb = 'dumb', | |
} | |
// moduleA config data types | |
export interface IModuleAConfig { | |
name: string; | |
type: ModuleType; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment