brutalism design
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import type { ChatMessage } from '@shared/api/generated-chad-api.ts'
|
||||
import type { EventType } from 'mitt'
|
||||
import mitt from 'mitt'
|
||||
|
||||
@@ -29,7 +30,7 @@ export interface AppEvents extends Record<EventType, unknown> {
|
||||
'share:enabled': void
|
||||
'share:disabled': void
|
||||
|
||||
'chat:new-message': void
|
||||
'chat:new-message': ChatMessage
|
||||
}
|
||||
|
||||
const emitter = mitt<AppEvents>()
|
||||
|
||||
Reference in New Issue
Block a user