mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-06 03:57:56 +08:00
style(schema): 完善request-function定义
This commit is contained in:
parent
f305f0a93e
commit
8765cf10f6
@ -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 {
|
||||
/** 页面配置描述 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user