Skip to content

Instantly share code, notes, and snippets.

@ryancat
Last active October 21, 2018 21:48
Show Gist options
  • Save ryancat/41406f58a5b5e8ed75a35ea725a5e019 to your computer and use it in GitHub Desktop.
Save ryancat/41406f58a5b5e8ed75a35ea725a5e019 to your computer and use it in GitHub Desktop.
typescript migration demo
// 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