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