mirror of
https://github.com/material-components/material-web.git
synced 2024-10-27 06:04:44 +03:00
Remove trivially inferred type annotation
This commit is contained in:
parent
cdd105cad5
commit
7e3517a39a
@ -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) {
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user