Created
October 31, 2018 12:06
-
-
Save RWOverdijk/0553de8e79ee41d4d3b80e326e0a00b3 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
export interface ModuleInterface { | |
onBootstrap?: (event?: Event<any>) => void | Promise<any>; | |
getConfig?: (mode?: string) => { [key: string]: any } | Promise<{ [key: string]: any }>; | |
getServerConfig?: () => { [key: string]: any } | Promise<{ [key: string]: any }>; | |
getCliConfig?: () => { [key: string]: any } | Promise<{ [key: string]: any }>; | |
init?: (moduleManager?: ModuleManager) => void; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment