diff --git a/aio/content/guide/elements.md b/aio/content/guide/elements.md index 3a1c7fcf331..96f55cc2842 100644 --- a/aio/content/guide/elements.md +++ b/aio/content/guide/elements.md @@ -192,7 +192,7 @@ class MyDialog { } ``` -The most straight forward way to get accurate typings is to cast the return value of the relevant DOM methods to the correct type. For that, you can use the `NgElement` and `WithProperties` types (both exported from `@angular/elements`): +The most straightforward way to get accurate typings is to cast the return value of the relevant DOM methods to the correct type. For that, you can use the `NgElement` and `WithProperties` types (both exported from `@angular/elements`): ```ts const aDialog = document.createElement('my-dialog') as NgElement & WithProperties<{content: string}>;