@@ -17,83 +17,17 @@ declare const __REACT_DEVTOOLS_GLOBAL_HOOK__: any; /*?{
1717 inject: ?((stuff: Object) => void)
1818};*/
1919
20- declare const globalThis: Object ;
21-
22- declare const queueMicrotask: ( fn : Function ) => void ;
2320declare const reportError: ( error : mixed ) => void ;
24- declare const AggregateError: Class < Error > ;
25-
26- declare const FinalizationRegistry : any ;
2721
2822declare module 'create-react-class' {
2923 declare const exports : $FlowFixMe ;
3024}
3125
32- declare module 'error-stack-parser' {
33- // flow-typed signature: 132e48034ef4756600e1d98681a166b5
34- // flow-typed version: c6154227d1/error-stack-parser_v2.x.x/flow_>=v0.104.x
35-
36- declare interface StackFrame {
37- constructor ( object : StackFrame ) : StackFrame ;
38-
39- isConstructor ? : boolean ;
40- getIsConstructor ( ) : boolean ;
41- setIsConstructor ( ) : void ;
42-
43- isEval ? : boolean ;
44- getIsEval ( ) : boolean ;
45- setIsEval ( ) : void ;
46-
47- isNative ? : boolean ;
48- getIsNative ( ) : boolean ;
49- setIsNative ( ) : void ;
50-
51- isTopLevel ? : boolean ;
52- getIsTopLevel ( ) : boolean ;
53- setIsTopLevel ( ) : void ;
54-
55- columnNumber ? : number ;
56- getColumnNumber ( ) : number ;
57- setColumnNumber ( ) : void ;
58-
59- lineNumber ? : number ;
60- getLineNumber ( ) : number ;
61- setLineNumber ( ) : void ;
62-
63- fileName ? : string ;
64- getFileName ( ) : string ;
65- setFileName ( ) : void ;
66-
67- functionName ? : string ;
68- getFunctionName ( ) : string ;
69- setFunctionName ( ) : void ;
70-
71- source ? : string ;
72- getSource ( ) : string ;
73- setSource ( ) : void ;
74-
75- args ?: any [ ] ;
76- getArgs ( ) : any [ ] ;
77- setArgs ( ) : void ;
78-
79- evalOrigin ?: StackFrame ;
80- getEvalOrigin ( ) : StackFrame ;
81- setEvalOrigin ( ) : void ;
82-
83- toString ( ) : string ;
84- }
85-
86- declare class ErrorStackParser {
87- parse ( error : Error ) : Array < StackFrame > ;
88- }
89-
90- declare module . exports : ErrorStackParser ;
91- }
92-
9326declare interface ConsoleTask {
9427 run < T > ( f : ( ) = > T ) : T ;
9528}
9629
30+ // $FlowFixMe[libdef-override]
9731declare var console : {
9832 assert ( condition : mixed , ...data : Array < any > ) : void ,
9933 clear ( ) : void ,
@@ -148,7 +82,7 @@ declare class ScrollTimeline extends AnimationTimeline {
14882
14983// Flow hides the props of React$Element, this overrides it to unhide
15084// them for React internals.
151- // prettier-ignore
85+ // $FlowFixMe[libdef-override]
15286declare opaque type React$Element <
15387 + ElementType : React$ElementType ,
15488 + P = React$ElementProps < ElementType > ,
@@ -227,100 +161,12 @@ declare var parcelRequire: {
227161 } ,
228162} ;
229163
230- declare module 'fs / promises ' {
231- declare const access : ( path : string , mode ? : number ) = > Promise < void > ;
232- declare const lstat : (
233- path : string ,
234- options ?: ?{ bigint ?: boolean } ,
235- ) = > Promise < mixed > ;
236- declare const readdir : (
237- path : string ,
238- options ?:
239- | ?string
240- | {
241- encoding ?: ?string ,
242- withFileTypes ?: ?boolean ,
243- } ,
244- ) = > Promise < Buffer > ;
245- declare const readFile : (
246- path : string ,
247- options ?:
248- | ?string
249- | {
250- encoding ?: ?string ,
251- } ,
252- ) = > Promise < Buffer > ;
253- declare const readlink : (
254- path : string ,
255- options ?:
256- | ?string
257- | {
258- encoding ?: ?string ,
259- } ,
260- ) = > Promise < mixed > ;
261- declare const realpath : (
262- path : string ,
263- options ?:
264- | ?string
265- | {
266- encoding ?: ?string ,
267- } ,
268- ) = > Promise < mixed > ;
269- declare const stat : (
270- path : string ,
271- options ?: ?{ bigint ?: boolean } ,
272- ) = > Promise < mixed > ;
273- }
274164declare module 'pg ' {
275165 declare const Pool : ( options : mixed ) = > {
276166 query : ( query : string , values ?: Array < mixed > ) => void ,
277167 } ;
278168}
279169
280- declare module 'util' {
281- declare function debuglog ( section : string ) : ( data : any , ...args : any ) => void ;
282- declare function format ( format : string , ...placeholders : any ) : string ;
283- declare function log ( string : string ) : void ;
284- declare function inspect ( object : any , options ?: util$InspectOptions ) : string ;
285- declare function isArray ( object : any ) : boolean ;
286- declare function isRegExp ( object : any ) : boolean ;
287- declare function isDate ( object : any ) : boolean ;
288- declare function isError ( object : any ) : boolean ;
289- declare function inherits (
290- constructor : Function ,
291- superConstructor : Function ,
292- ) : void ;
293- declare function deprecate ( f : Function , string : string ) : Function ;
294- declare function promisify ( f : Function ) : Function ;
295- declare function callbackify ( f : Function ) : Function ;
296- declare class TextDecoder {
297- constructor (
298- encoding ?: string ,
299- options ?: {
300- fatal ?: boolean ,
301- ignoreBOM ?: boolean ,
302- ...
303- } ,
304- ) : void ;
305- decode (
306- input ? : ArrayBuffer | DataView | $TypedArray ,
307- options ?: { stream ?: boolean , ...} ,
308- ) : string ;
309- encoding : string ;
310- fatal : boolean ;
311- ignoreBOM : boolean ;
312- }
313- declare class TextEncoder {
314- constructor ( encoding ?: string ) : TextEncoder ;
315- encode ( buffer : string ) : Uint8Array ;
316- encodeInto (
317- buffer : string ,
318- dest : Uint8Array ,
319- ) : { read : number , written : number } ;
320- encoding : string ;
321- }
322- }
323-
324170declare module 'busboy' {
325171 import type { Writable, Readable} from 'stream' ;
326172
@@ -456,13 +302,6 @@ declare const async_hooks: {
456302 executionAsyncId ( ) : number ,
457303} ;
458304
459- declare module 'node:worker_threads' {
460- declare class MessageChannel {
461- port1 : MessagePort ;
462- port2 : MessagePort ;
463- }
464- }
465-
466305declare module 'jest-diff' {
467306 declare type CompareKeys = ( ( a : string , b : string ) => number ) | void ;
468307 declare type DiffOptions = {
0 commit comments