style: type cleanup

This commit is contained in:
Brandy Carney
2024-07-15 17:26:46 -04:00
parent 6bf510d71e
commit a331afe253
2 changed files with 2 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ export class SegmentView implements ComponentInterface {
});
};
private getSegmentButtons(): HTMLIonSegmentButtonElement[] | [] {
private getSegmentButtons(): HTMLIonSegmentButtonElement[] {
const { segmentEl } = this;
if (!segmentEl) {

View File

@@ -220,7 +220,7 @@ export class Segment implements ComponentInterface {
this.ionChange.emit({ value });
}
private getButtons(): HTMLIonSegmentButtonElement[] | [] {
private getButtons(): HTMLIonSegmentButtonElement[] {
return Array.from(this.el.querySelectorAll('ion-segment-button'));
}