feat: 请求增加返回类型

This commit is contained in:
Burt
2023-12-23 11:47:37 +08:00
parent 252b5578ac
commit e29cfe99dc
2 changed files with 8 additions and 3 deletions

4
src/typings.d.ts vendored
View File

@@ -2,3 +2,7 @@ export type UserInfo = {
username: string
token: string
}
export type UserItem = {
username: string
age: number
}