Skip to content

Commit

Permalink
Merge pull request #91 from milutin/patch-1
Browse files Browse the repository at this point in the history
Fix documentation - wrong order of properties
  • Loading branch information
aomarks committed Nov 18, 2020
2 parents c389061 + 4b7f6b8 commit 4e1b54e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ reference.
@property({observer: MyElement.prototype.bazChanged, type: String})
baz: string;
private bazChanged(oldValue: string, newValue: string) {
private bazChanged(newValue: string, oldValue: string) {
console.log(`baz was: ${oldValue}, and is now: ${newValue}`);
}
```
Expand Down

0 comments on commit 4e1b54e

Please sign in to comment.