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 { 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 {
|
export interface SectionOptions {
|
||||||
enableOverflow: boolean
|
enableOverflow: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
export type SectionContainerElement = {
|
export type SectionContainerElement = {
|
||||||
fetchData: () => void
|
fetchData: () => Promise<BaseItemDtoQueryResult | BaseItemDto[]>
|
||||||
getItemsHtml: (items: BaseItemDto[]) => void
|
getItemsHtml: (items: BaseItemDto[]) => void
|
||||||
parentContainer: HTMLElement
|
parentContainer: HTMLElement
|
||||||
} & Element;
|
} & Element;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue