Fix code-style
This commit is contained in:
@@ -47,7 +47,7 @@ class IpcMainEventBus implements EventBusInterface {
|
||||
|
||||
class IpcRendererEventBus implements EventBusInterface {
|
||||
private ipc: IpcRenderer
|
||||
private callbacks: CallbackStore[] = []
|
||||
private callbacks: Array<CallbackStore> = []
|
||||
|
||||
constructor(ipc: IpcRenderer) {
|
||||
this.ipc = ipc
|
||||
|
||||
@@ -8,7 +8,7 @@ interface CallbackStore {
|
||||
export class EventDispatcher<Message, Dispatcher> {
|
||||
private emitter = new EventEmitter()
|
||||
private dispatcher: Dispatcher
|
||||
private callbacks: CallbackStore[] = []
|
||||
private callbacks: Array<CallbackStore> = []
|
||||
|
||||
constructor(dispatcher: Dispatcher) {
|
||||
this.dispatcher = dispatcher
|
||||
|
||||
Reference in New Issue
Block a user