style(schema): 完善request-function定义

This commit is contained in:
roymondchen 2023-11-21 19:30:45 +08:00
parent f305f0a93e
commit 8765cf10f6

View File

@ -31,7 +31,7 @@ export interface HttpOptions {
[key: string]: any;
}
export type RequestFunction = (options: HttpOptions) => Promise<any>;
export type RequestFunction = <T = any>(options: HttpOptions) => Promise<T>;
export interface AppCore {
/** 页面配置描述 */