You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
593 B
TypeScript
29 lines
593 B
TypeScript
declare global {
|
|
namespace NodeJS {
|
|
interface Global {
|
|
Hydro: {
|
|
model: any
|
|
handler: any
|
|
script: any
|
|
service: any
|
|
lib: any
|
|
stat: any
|
|
wiki: any
|
|
template: any
|
|
ui: any
|
|
error: any
|
|
locales: any
|
|
}
|
|
nodeModules: any
|
|
onDestory: Function[]
|
|
isFirstWorker: boolean
|
|
}
|
|
}
|
|
}
|
|
|
|
declare module 'cluster' {
|
|
let isFirstWorker: boolean;
|
|
}
|
|
|
|
export { };
|