Skip to content

Commit

Permalink
docs: typo fix (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrmod committed Mar 7, 2024
1 parent 50e3793 commit 4232ad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/component-model/structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ import { define } from "hybrids";

function myCustomProperty(multiplier) {
return {
get: (host, value) => value | 0,
get: (host, value) => value || 0,
set: (host, value) => value * multiplier,
};
}
Expand Down

0 comments on commit 4232ad7

Please sign in to comment.