style(schema): 完善request-function定义
This commit is contained in:
@@ -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 {
|
||||
/** 页面配置描述 */
|
||||
|
||||
Reference in New Issue
Block a user