Command for selecting an alternative match from suggestions.

export class SelectAlternativeCommand extends BaseCommand {
constructor(
matchIndex: number,
beforeState: MangaMatchResult,
afterState: MangaMatchResult,
onExecute: OnExecuteCallback,
) {
super(
matchIndex,
beforeState,
afterState,
onExecute,
CommandType.SELECT_ALTERNATIVE,
`Select alternative match for "${beforeState.kenmeiManga.title}"`,
);
}
}

Hierarchy (View Summary)

Constructors

Methods