Results of running ts-prune.

This commit is contained in:
Dermot Duffy
2023-01-30 21:11:21 -08:00
parent f3149d2ff3
commit a9074bd44e
27 changed files with 116 additions and 161 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ const defaultOptions: OptionsType = {
breakpoints: {},
};
export type AutoMediaOptionsType = Partial<OptionsType>
type AutoMediaOptionsType = Partial<OptionsType>
export type AutoMediaType = CreatePluginType<
{
+4 -4
View File
@@ -3,7 +3,7 @@ import { CreatePluginType } from 'embla-carousel/components/Plugins';
import EmblaCarousel, { EmblaCarouselType, EmblaEventType } from 'embla-carousel';
import { LazyUnloadCondition } from '../../types';
export type OptionsType = CreateOptionsType<{
type OptionsType = CreateOptionsType<{
// Number of slides to lazyload left/right of selected (0 == only selected
// slide).
lazyLoadCount?: number;
@@ -13,15 +13,15 @@ export type OptionsType = CreateOptionsType<{
lazyUnloadCallback?: (index: number, slide: HTMLElement) => void;
}>;
export const defaultOptions: OptionsType = {
const defaultOptions: OptionsType = {
active: true,
breakpoints: {},
lazyLoadCount: 0,
};
export type LazyloadOptionsType = Partial<OptionsType>;
type LazyloadOptionsType = Partial<OptionsType>;
export type LazyloadType = CreatePluginType<
type LazyloadType = CreatePluginType<
{
hasLazyloaded(index: number): boolean;
},
+2 -2
View File
@@ -28,12 +28,12 @@ const getEmptyImageSrc = (width: number, height: number) =>
`data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ${width} ${height}"%3E%3C/svg%3E`;
export const IMG_EMPTY = getEmptyImageSrc(16, 9);
export interface CarouselMediaLoadedInfo {
interface CarouselMediaLoadedInfo {
slide: number;
mediaLoadedInfo: MediaLoadedInfo;
}
export interface CarouselMediaUnloadedInfo {
interface CarouselMediaUnloadedInfo {
slide: number;
}
+1 -1
View File
@@ -66,7 +66,7 @@ export type MediaFilterControls = {
};
@customElement('frigate-card-media-filter-core')
export class FrigateCardMediaFilterCore extends LitElement {
class FrigateCardMediaFilterCore extends LitElement {
@property({ attribute: false })
public hass?: ExtendedHomeAssistant;