Fix function return type

This commit is contained in:
Bill Thornton 2023-10-02 13:43:06 -04:00
parent f1afaa975e
commit 8149076fc5

View file

@ -1,11 +1,12 @@
import type { BaseItemDto } from '@jellyfin/sdk/lib/generated-client/models/base-item-dto';
import type { BaseItemDtoQueryResult } from '@jellyfin/sdk/lib/generated-client/models/base-item-dto-query-result';
export interface SectionOptions {
enableOverflow: boolean
}
export type SectionContainerElement = {
fetchData: () => void
fetchData: () => Promise<BaseItemDtoQueryResult | BaseItemDto[]>
getItemsHtml: (items: BaseItemDto[]) => void
parentContainer: HTMLElement
} & Element;