diff --git a/aio/content/guide/template-typecheck.md b/aio/content/guide/template-typecheck.md index c9ce6a5d90..3891a8584f 100644 --- a/aio/content/guide/template-typecheck.md +++ b/aio/content/guide/template-typecheck.md @@ -228,6 +228,7 @@ Consider the following directive: class SubmitButton { private _disabled: boolean; + @Input() get disabled(): boolean { return this._disabled; } @@ -269,6 +270,7 @@ As a workaround for this problem, Angular supports checking a wider, more permis class SubmitButton { private _disabled: boolean; + @Input() get disabled(): boolean { return this._disabled; }