1
- import type { PackageType as PackageType_0 , RemoteKeys as RemoteKeys_0 } from './remote1/apis.d.ts' ;
2
- import type { PackageType as PackageType_1 , RemoteKeys as RemoteKeys_1 } from './remote2/apis.d.ts' ;
3
- declare module '@module-federation/runtime' {
4
- type RemoteKeys = RemoteKeys_0 | RemoteKeys_1 ;
5
- type PackageType < T , Y = any > = T extends RemoteKeys_0
6
- ? PackageType_0 < T >
7
- : T extends RemoteKeys_1
8
- ? PackageType_1 < T >
9
- : Y ;
10
- export function loadRemote < T extends RemoteKeys , Y > ( packageName : T ) : Promise < PackageType < T , Y > > ;
11
- export function loadRemote < T extends string , Y > ( packageName : T ) : Promise < PackageType < T , Y > > ;
12
- }
13
- declare module '@module-federation/enhanced/runtime' {
14
- type RemoteKeys = RemoteKeys_0 | RemoteKeys_1 ;
15
- type PackageType < T , Y = any > = T extends RemoteKeys_0
16
- ? PackageType_0 < T >
17
- : T extends RemoteKeys_1
18
- ? PackageType_1 < T >
19
- : Y ;
20
- export function loadRemote < T extends RemoteKeys , Y > ( packageName : T ) : Promise < PackageType < T , Y > > ;
21
- export function loadRemote < T extends string , Y > ( packageName : T ) : Promise < PackageType < T , Y > > ;
22
- }
23
- declare module '@module-federation/runtime-tools' {
24
- type RemoteKeys = RemoteKeys_0 | RemoteKeys_1 ;
25
- type PackageType < T , Y = any > = T extends RemoteKeys_0
26
- ? PackageType_0 < T >
27
- : T extends RemoteKeys_1
28
- ? PackageType_1 < T >
29
- : Y ;
30
- export function loadRemote < T extends RemoteKeys , Y > ( packageName : T ) : Promise < PackageType < T , Y > > ;
31
- export function loadRemote < T extends string , Y > ( packageName : T ) : Promise < PackageType < T , Y > > ;
32
- }
1
+ import type { PackageType as PackageType_0 , RemoteKeys as RemoteKeys_0 } from './remote1/apis.d.ts' ;
2
+ import type { PackageType as PackageType_1 , RemoteKeys as RemoteKeys_1 } from './remote2/apis.d.ts' ;
3
+ declare module "@module-federation/runtime" {
4
+ type RemoteKeys = RemoteKeys_0 | RemoteKeys_1 ;
5
+ type PackageType < T , Y = any > = T extends RemoteKeys_0 ? PackageType_0 < T > :
6
+ T extends RemoteKeys_1 ? PackageType_1 < T > :
7
+ Y ;
8
+ export function loadRemote < T extends RemoteKeys , Y > ( packageName : T ) : Promise < PackageType < T , Y > > ;
9
+ export function loadRemote < T extends string , Y > ( packageName : T ) : Promise < PackageType < T , Y > > ;
10
+ }
11
+ declare module "@module-federation/enhanced/runtime" {
12
+ type RemoteKeys = RemoteKeys_0 | RemoteKeys_1 ;
13
+ type PackageType < T , Y = any > = T extends RemoteKeys_0 ? PackageType_0 < T > :
14
+ T extends RemoteKeys_1 ? PackageType_1 < T > :
15
+ Y ;
16
+ export function loadRemote < T extends RemoteKeys , Y > ( packageName : T ) : Promise < PackageType < T , Y > > ;
17
+ export function loadRemote < T extends string , Y > ( packageName : T ) : Promise < PackageType < T , Y > > ;
18
+ }
19
+ declare module "@module-federation/runtime-tools" {
20
+ type RemoteKeys = RemoteKeys_0 | RemoteKeys_1 ;
21
+ type PackageType < T , Y = any > = T extends RemoteKeys_0 ? PackageType_0 < T > :
22
+ T extends RemoteKeys_1 ? PackageType_1 < T > :
23
+ Y ;
24
+ export function loadRemote < T extends RemoteKeys , Y > ( packageName : T ) : Promise < PackageType < T , Y > > ;
25
+ export function loadRemote < T extends string , Y > ( packageName : T ) : Promise < PackageType < T , Y > > ;
26
+ }
27
+
0 commit comments