Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
xdan committed Feb 10, 2020
1 parent 4f90e2f commit c0b9600
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class Config implements IViewOptions {
*/
iframe: boolean = false;

commandToHotkeys: IDictionary<string | string[]> = {};
commandToHotkeys!: IDictionary<string | string[]>;

license: string = '';

Expand Down Expand Up @@ -798,7 +798,7 @@ export class Config implements IViewOptions {
/**
* Behavior for buttons
*/
controls: Controls = {};
controls!: Controls;

events: IDictionary<(...args: any[]) => any> = {};

Expand Down

0 comments on commit c0b9600

Please sign in to comment.