File tree Expand file tree Collapse file tree 4 files changed +9
-0
lines changed
Expand file tree Collapse file tree 4 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ import {ARIARole} from '../../../types/aria.js';
1313/** @soyCompatible */
1414export class ListDivider extends LitElement {
1515 @ariaProperty // tslint:disable-line:no-new-decorators
16+ // tslint:disable-next-line:decorator-placement
1617 @property ( { type : String , attribute : 'data-role' , noAccessor : true } )
18+ // @ts -ignore(b/264292293): Use `override` with TS 4.9+
1719 role : ARIARole = 'separator' ;
1820
1921 /** @soyTemplate */
Original file line number Diff line number Diff line change @@ -38,7 +38,9 @@ export class List extends LitElement {
3838 ariaActivedescendant ! : string ;
3939
4040 @ariaProperty // tslint:disable-line:no-new-decorators
41+ // tslint:disable-next-line:decorator-placement
4142 @property ( { type : String , attribute : 'data-role' , noAccessor : true } )
43+ // @ts -ignore(b/264292293): Use `override` with TS 4.9+
4244 role : ARIARole = 'list' ;
4345
4446 @property ( { type : String } ) listId = '' ;
Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ import {ifDefined} from 'lit/directives/if-defined.js';
2020/** @soyCompatible */
2121export class ListItem extends ActionElement {
2222 @ariaProperty // tslint:disable-line:no-new-decorators
23+ // tslint:disable-next-line:decorator-placement
2324 @property ( { type : String , attribute : 'data-role' , noAccessor : true } )
25+ // @ts -ignore(b/264292293): Use `override` with TS 4.9+
2426 role : ARIARole = 'listitem' ;
2527
2628 @ariaProperty // tslint:disable-line:no-new-decorators
Original file line number Diff line number Diff line change @@ -138,9 +138,12 @@ export abstract class TextField extends LitElement {
138138 @ariaProperty // tslint:disable-line:no-new-decorators
139139 ariaLabelledBy ! : string ;
140140
141+ // tslint:disable:decorator-placement
141142 @property ( { type : String , attribute : 'data-role' , noAccessor : true } )
142143 @ariaProperty // tslint:disable-line:no-new-decorators
144+ // @ts -ignore(b/264292293): Use `override` with TS 4.9+
143145 role : ARIARole | null = null ;
146+ // tslint:enable:decorator-placement
144147
145148 // FormElement
146149 get form ( ) {
You can’t perform that action at this time.
0 commit comments