Skip to content

Commit ef0e128

Browse files
authored
fix typo in custom-directives.md (#1148)
1 parent f2271c7 commit ef0e128

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/lit-dev-content/site/docs/v2/templates/custom-directives.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ export const resolvePromise = directive(ResolvePromise);
404404

405405
{% endswitchable-sample %}
406406

407-
Here, the rendered template shows "Waiting for promise to resolve," followed by the resolved value of the promise, whenever it resolves.
407+
Here, the rendered template shows "Waiting for promise to resolve", followed by the resolved value of the promise, whenever it resolves.
408408

409409
Async directives often need to subscribe to external resources. To prevent memory leaks async directives should unsubscribe or dispose of resources when the directive instance is no longer in use. For this purpose, `AsyncDirective` provides the following extra lifecycle callbacks and API:
410410

packages/lit-dev-content/site/docs/v3/templates/custom-directives.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ export const resolvePromise = directive(ResolvePromise);
404404

405405
{% endswitchable-sample %}
406406

407-
Here, the rendered template shows "Waiting for promise to resolve," followed by the resolved value of the promise, whenever it resolves.
407+
Here, the rendered template shows "Waiting for promise to resolve", followed by the resolved value of the promise, whenever it resolves.
408408

409409
Async directives often need to subscribe to external resources. To prevent memory leaks async directives should unsubscribe or dispose of resources when the directive instance is no longer in use. For this purpose, `AsyncDirective` provides the following extra lifecycle callbacks and API:
410410

0 commit comments

Comments
 (0)