Fix code-style

This commit is contained in:
Thomas Nordquist
2019-04-11 19:34:23 +02:00
parent 52c44327d0
commit d1f4bc678c
22 changed files with 43 additions and 46 deletions

View File

@@ -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

View File

@@ -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