Skip to content

Commit

Permalink
fix(Notification): Don't reference this from static methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonydmays authored Jul 1, 2017
1 parent 0506ea0 commit 9f8e375
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Notification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export class Notification<T> {
if (typeof value !== 'undefined') {
return new Notification('N', value);
}
return this.undefinedValueNotification;
return Notification.undefinedValueNotification;
}

/**
Expand All @@ -126,6 +126,6 @@ export class Notification<T> {
* @return {Notification<any>} The valueless "complete" Notification.
*/
static createComplete(): Notification<any> {
return this.completeNotification;
return Notification.completeNotification;
}
}

0 comments on commit 9f8e375

Please sign in to comment.