Skip to content

Commit

Permalink
Remove abstract keyword for classes that are not subclassed
Browse files Browse the repository at this point in the history
  • Loading branch information
3flex committed Nov 26, 2024
1 parent b219b8a commit 1c2c48d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
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

0 comments on commit 1c2c48d

Please sign in to comment.