Skip to content

Commit

Permalink
Fix typo. (#2847)
Browse files Browse the repository at this point in the history
* Fix typo.

* Add changeset.
  • Loading branch information
Arthur Evans committed May 16, 2022
1 parent ddafbae commit 79d8238
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/stupid-geese-change.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'lit-html': patch
'lit': patch
---

Fix typo in API docs for live() directive.
2 changes: 1 addition & 1 deletion packages/lit-html/src/directives/live.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class LiveDirective extends Directive {
* html`<input .value=${live(x)}>`
* ```
*
* `live()` performs a strict equality check agains the live DOM value, and if
* `live()` performs a strict equality check against the live DOM value, and if
* the new value is equal to the live value, does nothing. This means that
* `live()` should not be used when the binding will cause a type conversion. If
* you use `live()` with an attribute binding, make sure that only strings are
Expand Down

0 comments on commit 79d8238

Please sign in to comment.