跳到主要内容
版本:Next

createFunctionApp

Callable

  • createFunctionApp<T, Y>(baseDir?: string | MockAppConfigurationOptions, options?: MockAppConfigurationOptions, customFrameworkModule?: ComponentModule | new (...args: any[]) => T): Promise<Y>

  • Type parameters

    • T: IMidwayFramework<any, any, any, any, any, T>
    • Y = ReturnType<T[getApplication]>