Skip to content

Commit 4e1b54e

Browse files
authored
Merge pull request #91 from milutin/patch-1
Fix documentation - wrong order of properties
2 parents c389061 + 4b7f6b8 commit 4e1b54e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ reference.
169169
@property({observer: MyElement.prototype.bazChanged, type: String})
170170
baz: string;
171171

172-
private bazChanged(oldValue: string, newValue: string) {
172+
private bazChanged(newValue: string, oldValue: string) {
173173
console.log(`baz was: ${oldValue}, and is now: ${newValue}`);
174174
}
175175
```

0 commit comments

Comments
 (0)