jiangchengfeiyi-Web/src/utils/emitter.ts

5 lines
71 B
TypeScript

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