9 lines
181 B
TypeScript
9 lines
181 B
TypeScript
import { createEventBus } from 'retrobus'
|
|
|
|
interface EventBusParams {
|
|
path: string
|
|
currentNoteSHA?: string
|
|
}
|
|
|
|
export const noteEventBus = createEventBus<EventBusParams>('note')
|