2023-03-08 10:02:46 +08:00

13 lines
219 B
TypeScript

import { defineStore } from 'pinia';
interface UserState {
id?: string | number;
}
export const useUserStore = defineStore({
id: 'user',
state: (): UserState => ({}),
getters: {},
actions: {},
});