@@ -16,7 +16,7 @@ limitations under the License.
1616*/
1717
1818import { TextAreaCharCounter , TextFieldBase , TextFieldInputMode , TextFieldType } from '@material/mwc-textfield/mwc-textfield-base' ;
19- import { ComplexAttributeConverter , html , property , query } from 'lit-element' ;
19+ import { ComplexAttributeConverter , html , property , query , TemplateResult } from 'lit-element' ;
2020import { classMap } from 'lit-html/directives/class-map' ;
2121import { ifDefined } from 'lit-html/directives/if-defined' ;
2222import { live } from 'lit-html/directives/live' ;
@@ -54,7 +54,7 @@ export abstract class TextAreaBase extends TextFieldBase {
5454 charCounter : boolean | TextAreaCharCounter = false ;
5555
5656 /** @soyTemplate */
57- render ( ) {
57+ render ( ) : TemplateResult {
5858 const shouldRenderCharCounter = this . charCounter && this . maxLength !== - 1 ;
5959 const shouldRenderInternalCharCounter =
6060 shouldRenderCharCounter && this . charCounter === 'internal' ;
@@ -89,7 +89,7 @@ export abstract class TextAreaBase extends TextFieldBase {
8989 }
9090
9191 /** @soyTemplate */
92- protected renderInput ( ) {
92+ protected renderInput ( ) : TemplateResult {
9393 const minOrUndef = this . minLength === - 1 ? undefined : this . minLength ;
9494 const maxOrUndef = this . maxLength === - 1 ? undefined : this . maxLength ;
9595 const autocapitalizeOrUndef = this . autocapitalize ?
0 commit comments