Skip to content

Commit e9b3d8a

Browse files
committed
refactor: 修正 MsgDataType 类型定义
1 parent de7d4c4 commit e9b3d8a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/store/modules/notification.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const getMsgData = () => [
4242
},
4343
];
4444

45-
type MsgDataType = typeof getMsgData;
45+
type MsgDataType = ReturnType<typeof getMsgData>;
4646

4747
export const useNotificationStore = defineStore('notification', {
4848
state: () => ({

0 commit comments

Comments
 (0)