mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 09:46:28 +08:00
Hello Typescript!
This commit is contained in:
1 parent
c9b6412527
commit
ba03d7a7bf
98 files changed
+3186
-2616
No files matched your search
@@ -0,0 +1,28 @@
|
||||
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' {
|
||||
var isFirstWorker: boolean;
|
||||
}
|
||||
|
||||
export { };
|
||||
Reference in new issue
Block a user