Skip to content

Commit

Permalink
Merge pull request #46 from adammendoza/patch-1
Browse files Browse the repository at this point in the history
fix(StorageEvent): update for TypeScript v2.6+
  • Loading branch information
DanielKucal authored May 7, 2018
2 parents 8f83919 + e038735 commit 8471560
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utility/storage/storage-event.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
export class NgxStorageEvent implements StorageEvent {
protected static initTimeStamp = Date.now();
public oldValue?: any;
public oldValue: any;
public newValue: any;
public NONE: any;
public timeStamp = (Date.now() - NgxStorageEvent.initTimeStamp);
public readonly bubbles = false;
public readonly cancelBubble = false;
Expand Down

0 comments on commit 8471560

Please sign in to comment.