Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove abstract keyword for classes that are not subclassed #713

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/commandHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { PlaybackManager } from './playbackManager';
import { DocumentManager } from './documentManager';

// eslint-disable-next-line @typescript-eslint/no-extraneous-class
export abstract class CommandHandler {
export class CommandHandler {
private static playerManager: framework.PlayerManager;
private static supportedCommands: SupportedCommands = {
DisplayContent: CommandHandler.displayContentHandler,
Expand Down
2 changes: 1 addition & 1 deletion src/components/documentManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { JellyfinApi } from './jellyfinApi';
import { DeviceIds, getActiveDeviceId } from './castDevices';

// eslint-disable-next-line @typescript-eslint/no-extraneous-class
export abstract class DocumentManager {
export class DocumentManager {
// Duration between each backdrop switch in ms
private static backdropPeriodMs = 30000;
// Timer state - so that we don't start the interval more than necessary
Expand Down
2 changes: 1 addition & 1 deletion src/components/jellyfinApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ axios.interceptors.response.use(
);

// eslint-disable-next-line @typescript-eslint/no-extraneous-class
export abstract class JellyfinApi {
export class JellyfinApi {
// Security token to prove authentication
public static accessToken: string | undefined;

Expand Down
2 changes: 1 addition & 1 deletion src/components/playbackManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export interface PlaybackState {
}

// eslint-disable-next-line @typescript-eslint/no-extraneous-class
export abstract class PlaybackManager {
export class PlaybackManager {
private static playerManager: framework.PlayerManager;
private static activePlaylist: BaseItemDto[];
private static activePlaylistIndex: number;
Expand Down