Remove trivially inferred type annotation

This commit is contained in:
Fernando Pasik 2019-10-05 19:00:16 +01:00
parent cdd105cad5
commit 7e3517a39a
2 changed files with 5 additions and 5 deletions

View File

@ -51,15 +51,15 @@ export class DialogBase extends BaseElement {
@query('.mdc-container') protected conatinerElement!: HTMLDivElement;
@property({type: Boolean}) hideActions: boolean = false;
@property({type: Boolean}) hideActions = false;
@property({type: Boolean})
@observer(function(this: DialogBase) {
this.forceLayout();
})
stacked: boolean = false;
stacked = false;
@property({type: String}) title: string = '';
@property({type: String}) title = '';
@property({type: String})
@observer(function(this: DialogBase, newAction: string) {

View File

@ -25,9 +25,9 @@ export class NotchedOutlineBase extends BaseElement {
protected readonly mdcFoundationClass = MDCNotchedOutlineFoundation;
@property({type: Number}) width: number = 0;
@property({type: Number}) width = 0;
@property({type: Boolean, reflect: true}) open: boolean = false;
@property({type: Boolean, reflect: true}) open = false;
protected lastOpen = this.open;