Started refactor to use typescript

This commit is contained in:
Daniel Vestøl committed 2019-03-10 14:22:08 +01:00
1 parent 9f3978e0b5
commit a4ee6f82cb
16 files changed
+264 -264

No files matched your search

Vendored
+16
View File
@@ -0,0 +1,16 @@
type MasterPluginInstance = {
config: object,
pluginConfig: object,
path: string,
socketio: any,
express: any,
Prometheus: any,
onExit?: Function,
}
type pluginConfig = {
name: string,
}
interface MasterPlugin {
main: MasterPluginInstance,
pluginConfig: pluginConfig,
}