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
This commit is contained in:
Kai Röder 2019-06-14 08:19:49 +02:00 committed by atscott
parent 3c7ac5f835
commit 3de59d48b5
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ export class KeyUpComponent_v1 {
// #docregion key-up-component-1-class
onKey(event: KeyboardEvent) { // with type info
this.values += (<HTMLInputElement>event.target).value + ' | ';
this.values += (event.target as HTMLInputElement).value + ' | ';
}
// #docregion key-up-component-1-class-no-type
}