mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-05-29 11:36:37 +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;
|
[key: string]: any;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type RequestFunction = (options: HttpOptions) => Promise<any>;
|
export type RequestFunction = <T = any>(options: HttpOptions) => Promise<T>;
|
||||||
|
|
||||||
export interface AppCore {
|
export interface AppCore {
|
||||||
/** 页面配置描述 */
|
/** 页面配置描述 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user