Master now compiles with typescript

This commit is contained in:
Daniel Vestøl committed 2019-03-12 13:18:01 +01:00
1 parent 55df1bae8a
commit 2e756b1649
3 files changed
+33 -3

No files matched your search

+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,
}
+3
View File
@@ -0,0 +1,3 @@
interface slaveMapper {
instanceID: string,
}