9
9
10
10
/* eslint-disable */
11
11
12
- declare var __PROFILE__: boolean ;
13
- declare var __UMD__: boolean ;
14
- declare var __EXPERIMENTAL__: boolean ;
15
- declare var __VARIANT__: boolean ;
12
+ declare const __PROFILE__: boolean ;
13
+ declare const __UMD__: boolean ;
14
+ declare const __EXPERIMENTAL__: boolean ;
15
+ declare const __VARIANT__: boolean ;
16
16
17
- declare var __REACT_DEVTOOLS_GLOBAL_HOOK__: any ; /*?{
17
+ declare const __REACT_DEVTOOLS_GLOBAL_HOOK__: any ; /*?{
18
18
inject: ?((stuff: Object) => void)
19
19
};*/
20
20
21
- declare var globalThis: Object ;
21
+ declare const globalThis: Object ;
22
22
23
- declare var queueMicrotask: ( fn : Function ) => void ;
24
- declare var reportError : ( error : mixed ) = > void ;
25
- declare var AggregateError: Class < Error > ;
23
+ declare const queueMicrotask: ( fn : Function ) => void ;
24
+ declare const reportError : ( error : mixed ) = > void ;
25
+ declare const AggregateError: Class < Error > ;
26
26
27
- declare var FinalizationRegistry : any ;
27
+ declare const FinalizationRegistry : any ;
28
28
29
29
declare module 'create-react-class' {
30
- declare var exports: React$CreateClass ;
30
+ declare const exports: React$CreateClass ;
31
31
}
32
32
33
33
// Flow hides the props of React$Element, this overrides it to unhide
@@ -43,7 +43,7 @@ declare opaque type React$Element<
43
43
+ ref : any ,
44
44
} ;
45
45
46
- declare var trustedTypes: {
46
+ declare const trustedTypes: {
47
47
isHTML : ( value : any ) => boolean ,
48
48
isScript : ( value : any ) => boolean ,
49
49
isScriptURL : ( value : any ) => boolean ,
@@ -89,22 +89,22 @@ declare module 'EventListener' {
89
89
}
90
90
91
91
declare function __webpack_chunk_load__ ( id : string ) : Promise < mixed > ;
92
- declare var __webpack_require__: ( ( id : string ) => any ) & {
92
+ declare const __webpack_require__: ( ( id : string ) => any ) & {
93
93
u : string => string ,
94
94
} ;
95
95
96
96
declare function __turbopack_load__ ( id : string ) : Promise < mixed > ;
97
- declare var __turbopack_require__: ((id: string) => any ) & {
97
+ declare const __turbopack_require__: ((id: string) => any ) & {
98
98
u : string => string ,
99
99
} ;
100
100
101
101
declare module 'fs/promises' {
102
- declare var access: ( path : string , mode ? : number ) => Promise < void > ;
103
- declare var lstat : (
102
+ declare const access: ( path : string , mode ? : number ) => Promise < void > ;
103
+ declare const lstat : (
104
104
path : string ,
105
105
options ?: ?{ bigint ?: boolean } ,
106
106
) => Promise < mixed > ;
107
- declare var readdir : (
107
+ declare const readdir : (
108
108
path : string ,
109
109
options ?:
110
110
| ?string
@@ -113,37 +113,37 @@ declare module 'fs/promises' {
113
113
withFileTypes ?: ?boolean ,
114
114
} ,
115
115
) => Promise < Buffer > ;
116
- declare var readFile : (
116
+ declare const readFile : (
117
117
path : string ,
118
118
options ?:
119
119
| ?string
120
120
| {
121
121
encoding ?: ?string ,
122
122
} ,
123
123
) => Promise < Buffer > ;
124
- declare var readlink : (
124
+ declare const readlink : (
125
125
path : string ,
126
126
options ?:
127
127
| ?string
128
128
| {
129
129
encoding ?: ?string ,
130
130
} ,
131
131
) => Promise < mixed > ;
132
- declare var realpath : (
132
+ declare const realpath : (
133
133
path : string ,
134
134
options ?:
135
135
| ?string
136
136
| {
137
137
encoding ?: ?string ,
138
138
} ,
139
139
) => Promise < mixed > ;
140
- declare var stat : (
140
+ declare const stat : (
141
141
path : string ,
142
142
options ?: ?{ bigint ?: boolean } ,
143
143
) => Promise < mixed > ;
144
144
}
145
145
declare module 'pg' {
146
- declare var Pool : ( options : mixed ) => {
146
+ declare const Pool : ( options : mixed ) => {
147
147
query: ( query : string , values ?: Array < mixed > ) => void ,
148
148
} ;
149
149
}
@@ -320,7 +320,7 @@ declare class AsyncLocalStorage<T> {
320
320
enterWith ( store : T ) : void ;
321
321
}
322
322
323
- declare var async_hooks: {
323
+ declare const async_hooks: {
324
324
createHook ( callbacks : any ) : any ,
325
325
executionAsyncId ( ) : number ,
326
326
} ;
@@ -332,7 +332,7 @@ declare module 'node:worker_threads' {
332
332
}
333
333
}
334
334
335
- declare var Bun: {
335
+ declare const Bun: {
336
336
hash (
337
337
input : string | $TypedArray | DataView | ArrayBuffer | SharedArrayBuffer ,
338
338
) : number ,
0 commit comments