File tree 3 files changed +2
-6
lines changed
3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,5 @@ declare module "Map" {
32
32
values ( ) : Iterator < V > ;
33
33
}
34
34
35
- // Don't "declare class exports" directly, otherwise in error messages our
36
- // show up as "exports" instead of "Map" or "MapPolyfill".
37
35
declare module . exports : typeof MapPolyfill ;
38
36
}
Original file line number Diff line number Diff line change @@ -30,7 +30,5 @@ declare module "Set" {
30
30
values ( ) : Iterator < T > ;
31
31
}
32
32
33
- // Don't "declare class exports" directly, otherwise in error messages our
34
- // show up as "exports" instead of "Set" or "SetPolyfill".
35
33
declare module . exports : typeof SetPolyfill ;
36
34
}
Original file line number Diff line number Diff line change 8
8
*/
9
9
10
10
declare module 'fbjs/lib/invariant' {
11
- declare function exports < T > ( condition : any , message : string , ...args : Array < any > ) : void ;
11
+ declare module . exports : < T > ( condition : any , message : string , ...args : Array < any > ) => void ;
12
12
}
13
13
14
14
declare module 'fbjs/lib/nullthrows' {
15
- declare function exports < T > (value: ?T): T;
15
+ declare module . exports : < T > (value: ?T) = > T ;
16
16
}
You can’t perform that action at this time.
0 commit comments