import { reactive } from 'vue' interface State { product: string type: number couponCode: string } export const state = reactive<State>({ product: '', type: -1, couponCode: '', })