Fix function return type
This commit is contained in:
parent
f1afaa975e
commit
8149076fc5
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue