From 3de59d48b55709511c79b06206e649b6764e5569 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20R=C3=B6der?= Date: Fri, 14 Jun 2019 08:19:49 +0200 Subject: [PATCH] docs(docs-infra): use recommended type assertion (#31042) Angular uses tslint:recommended by default. The default for no-angle-bracket-type-assertion is true See https://github.com/palantir/tslint/blob/master/src/configs/recommended.ts#L69 PR Close #31042 --- aio/content/examples/user-input/src/app/keyup.components.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/examples/user-input/src/app/keyup.components.ts b/aio/content/examples/user-input/src/app/keyup.components.ts index e561a3ce7a..6274b0569b 100644 --- a/aio/content/examples/user-input/src/app/keyup.components.ts +++ b/aio/content/examples/user-input/src/app/keyup.components.ts @@ -28,7 +28,7 @@ export class KeyUpComponent_v1 { // #docregion key-up-component-1-class onKey(event: KeyboardEvent) { // with type info - this.values += (event.target).value + ' | '; + this.values += (event.target as HTMLInputElement).value + ' | '; } // #docregion key-up-component-1-class-no-type }