mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-20 07:43:12 +09:00
Master now compiles with typescript
This commit is contained in:
1 parent
55df1bae8a
commit
2e756b1649
3 files changed
+33
-3
No files matched your search
Vendored
+16
@@ -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,
|
||||
}
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
interface slaveMapper {
|
||||
instanceID: string,
|
||||
}
|
||||
Reference in new issue
Block a user