mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
chore(types): fix type errors
This commit is contained in:
@ -189,7 +189,7 @@ export class FabButton {
|
||||
fabClasses = Object.assign(fabClasses, themedClasses);
|
||||
|
||||
return (
|
||||
<TagType class={fabClasses} onclick={this.clickedFab.bind(this)} disabled={this.disabled}>
|
||||
<TagType class={fabClasses} onClick={this.clickedFab.bind(this)} disabled={this.disabled}>
|
||||
<ion-icon name="close" class="fab-close-icon"></ion-icon>
|
||||
<span class='button-inner'>
|
||||
<slot></slot>
|
||||
|
@ -84,7 +84,7 @@ export class Segment {
|
||||
}
|
||||
|
||||
ionViewDidLoad() {
|
||||
this.buttons = this.$el.querySelectorAll('ion-segment-button');
|
||||
this.buttons = this.$el.querySelectorAll('ion-segment-button') as NodeListOf<HostElement>;
|
||||
|
||||
for (var i = 0; i < this.buttons.length; i++) {
|
||||
const button = this.buttons[i].$instance;
|
||||
|
Reference in New Issue
Block a user