1- import type { PackageType as PackageType_0 , RemoteKeys as RemoteKeys_0 } from './host/apis.d.ts' ;
2- import type { PackageType as PackageType_1 , RemoteKeys as RemoteKeys_1 } from './remote/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- declare module "@modern-js/runtime/mf" {
28- type RemoteKeys = RemoteKeys_0 | RemoteKeys_1 ;
29- type PackageType < T , Y = any > = T extends RemoteKeys_0 ? PackageType_0 < T > :
30- T extends RemoteKeys_1 ? PackageType_1 < T > :
31- Y ;
32- export function loadRemote < T extends RemoteKeys , Y > ( packageName : T ) : Promise < PackageType < T , Y > > ;
33- export function loadRemote < T extends string , Y > ( packageName : T ) : Promise < PackageType < T , Y > > ;
34- }
35-
1+ import type {
2+ PackageType as PackageType_0 ,
3+ RemoteKeys as RemoteKeys_0 ,
4+ } from './remote/apis.d.ts' ;
5+ declare module '@module-federation/runtime' {
6+ type RemoteKeys = RemoteKeys_0 ;
7+ type PackageType < T , Y = any > = T extends RemoteKeys_0 ? PackageType_0 < T > : Y ;
8+ export function loadRemote < T extends RemoteKeys , Y > (
9+ packageName : T ,
10+ ) : Promise < PackageType < T , Y > > ;
11+ export function loadRemote < T extends string , Y > (
12+ packageName : T ,
13+ ) : Promise < PackageType < T , Y > > ;
14+ }
15+ declare module '@module-federation/enhanced/runtime' {
16+ type RemoteKeys = RemoteKeys_0 ;
17+ type PackageType < T , Y = any > = T extends RemoteKeys_0 ? PackageType_0 < T > : Y ;
18+ export function loadRemote < T extends RemoteKeys , Y > (
19+ packageName : T ,
20+ ) : Promise < PackageType < T , Y > > ;
21+ export function loadRemote < T extends string , Y > (
22+ packageName : T ,
23+ ) : Promise < PackageType < T , Y > > ;
24+ }
25+ declare module '@module-federation/runtime-tools' {
26+ type RemoteKeys = RemoteKeys_0 ;
27+ type PackageType < T , Y = any > = T extends RemoteKeys_0 ? PackageType_0 < T > : Y ;
28+ export function loadRemote < T extends RemoteKeys , Y > (
29+ packageName : T ,
30+ ) : Promise < PackageType < T , Y > > ;
31+ export function loadRemote < T extends string , Y > (
32+ packageName : T ,
33+ ) : Promise < PackageType < T , Y > > ;
34+ }
35+ declare module '@modern-js/runtime/mf' {
36+ type RemoteKeys = RemoteKeys_0 ;
37+ type PackageType < T , Y = any > = T extends RemoteKeys_0 ? PackageType_0 < T > : Y ;
38+ export function loadRemote < T extends RemoteKeys , Y > (
39+ packageName : T ,
40+ ) : Promise < PackageType < T , Y > > ;
41+ export function loadRemote < T extends string , Y > (
42+ packageName : T ,
43+ ) : Promise < PackageType < T , Y > > ;
44+ }
0 commit comments