jiangchengfeiyi-xiaochengxu/pages/utils/emitter.ts

5 lines
72 B
TypeScript

import mitt from 'mitt'
const emitter = mitt()
export default emitter