Command for accepting a match suggestion.

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

Hierarchy (View Summary)

Constructors

Methods