import mitt from 'mitt'
type Events = {
openPost: IPost
startLoading: boolean
eventBus: INotification
}
const emitter = mitt<Events>()
export default emitter