From eee3354223b14e92fc8859bf58435554f377dfb5 Mon Sep 17 00:00:00 2001 From: Teri Glover Date: Wed, 27 Jan 2021 12:05:59 -0800 Subject: [PATCH] docs: fix typo to remove space (#40601) PR Close #40601 --- aio/content/guide/elements.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}>;