Compare commits

..

2 Commits

Author SHA1 Message Date
LiuJiaNan 3d57613ffd 优化useGetUserInfo 2025-11-08 16:01:32 +08:00
LiuJiaNan 4dc15b5a67 1.0.73 2025-11-08 15:59:18 +08:00
2 changed files with 2 additions and 2 deletions

View File

@ -4,4 +4,4 @@ export type getUserInfoFunction = () => Promise<Record<string, any>>;
* *
*/ */
export default function useGetUserInfo(returnType: "array"): [boolean, getUserInfoFunction]; export default function useGetUserInfo(returnType: "array"): [boolean, getUserInfoFunction];
export default function useGetUserInfo(returnType?: "object"): { loading: boolean; getDictionary: getUserInfoFunction }; export default function useGetUserInfo(returnType?: "object"): { loading: boolean; getUserInfo: getUserInfoFunction };

View File

@ -1,7 +1,7 @@
{ {
"name": "zy-react-library", "name": "zy-react-library",
"private": false, "private": false,
"version": "1.0.72", "version": "1.0.73",
"type": "module", "type": "module",
"description": "", "description": "",
"author": "LiuJiaNan", "author": "LiuJiaNan",