mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
type: 定义全局返回值类型
This commit is contained in:
Vendored
+7
@@ -7,4 +7,11 @@ interface Window {
|
||||
$vue: any
|
||||
}
|
||||
|
||||
|
||||
declare interface MyResponseType {
|
||||
code: number;
|
||||
msg: string;
|
||||
data: any;
|
||||
}
|
||||
|
||||
declare type Recordable<T = any> = Record<string, T>
|
||||
Reference in New Issue
Block a user