mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-07-19 18:54:16 +01:00
fix(typescript): resolve 44 TypeScript errors in core components (#1004)
This commit is contained in:
@@ -171,6 +171,7 @@ export type Settings = {
|
||||
enableHorizontalSwipeSkip: boolean;
|
||||
enableLeftSideBrightnessSwipe: boolean;
|
||||
enableRightSideVolumeSwipe: boolean;
|
||||
usePopularPlugin: boolean;
|
||||
};
|
||||
|
||||
export interface Lockable<T> {
|
||||
@@ -185,7 +186,7 @@ export type StreamyfinPluginConfig = {
|
||||
settings: PluginLockableSettings;
|
||||
};
|
||||
|
||||
const defaultValues: Settings = {
|
||||
export const defaultValues: Settings = {
|
||||
home: null,
|
||||
followDeviceOrientation: true,
|
||||
forceLandscapeInVideoPlayer: false,
|
||||
@@ -231,6 +232,7 @@ const defaultValues: Settings = {
|
||||
enableHorizontalSwipeSkip: true,
|
||||
enableLeftSideBrightnessSwipe: true,
|
||||
enableRightSideVolumeSwipe: true,
|
||||
usePopularPlugin: true,
|
||||
};
|
||||
|
||||
const loadSettings = (): Partial<Settings> => {
|
||||
|
||||
Reference in New Issue
Block a user