Skip to content

Commit 148c3af

Browse files
author
Arthur Evans
authored
Merge 7c86274 into bfa4bea
2 parents bfa4bea + 7c86274 commit 148c3af

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.changeset/stupid-geese-change.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'lit-html': patch
3+
'lit': patch
4+
---
5+
6+
Fix typo in API docs for live() directive.

packages/lit-html/src/directives/live.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class LiveDirective extends Directive {
8383
* html`<input .value=${live(x)}>`
8484
* ```
8585
*
86-
* `live()` performs a strict equality check agains the live DOM value, and if
86+
* `live()` performs a strict equality check against the live DOM value, and if
8787
* the new value is equal to the live value, does nothing. This means that
8888
* `live()` should not be used when the binding will cause a type conversion. If
8989
* you use `live()` with an attribute binding, make sure that only strings are

0 commit comments

Comments
 (0)