@midwayjs/mock 3.11.1-beta.2 → 3.11.1-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/creator.d.ts +1 -4
- package/package.json +1 -1
package/dist/creator.d.ts
CHANGED
|
@@ -11,10 +11,7 @@ export declare function close<T extends IMidwayApplication<any>>(app: T, options
|
|
|
11
11
|
cleanTempDir?: boolean;
|
|
12
12
|
sleep?: number;
|
|
13
13
|
}): Promise<void>;
|
|
14
|
-
export declare function createFunctionApp<T extends IMidwayFramework<any, any, any, any, any>, Y = ReturnType<T['getApplication']>>(options
|
|
15
|
-
new (...args: any[]): T;
|
|
16
|
-
} | ComponentModule): Promise<Y>;
|
|
17
|
-
export declare function createFunctionApp<T extends IMidwayFramework<any, any, any, any, any>, Y = ReturnType<T['getApplication']>>(baseDir: string, options: MockAppConfigurationOptions, customFrameworkModule?: {
|
|
14
|
+
export declare function createFunctionApp<T extends IMidwayFramework<any, any, any, any, any>, Y = ReturnType<T['getApplication']>>(baseDir?: string | MockAppConfigurationOptions, options?: MockAppConfigurationOptions, customFrameworkModule?: {
|
|
18
15
|
new (...args: any[]): T;
|
|
19
16
|
} | ComponentModule): Promise<Y>;
|
|
20
17
|
declare class BootstrapAppStarter {
|