refactor: Update eslint related dependencies

This commit is contained in:
Joachim Van Herwegen
2020-09-17 10:18:37 +02:00
parent c150da337e
commit 9657fbafb1
120 changed files with 916 additions and 605 deletions

View File

@@ -9,7 +9,7 @@ export abstract class AsyncHandler<TInput, TOutput = void> {
*
* @returns A promise resolving if this input can be handled, rejecting with an Error if not.
*/
public abstract canHandle (input: TInput): Promise<void>;
public abstract canHandle(input: TInput): Promise<void>;
/**
* Handles the given input. This should only be done if the {@link canHandle} function returned `true`.
@@ -17,7 +17,7 @@ export abstract class AsyncHandler<TInput, TOutput = void> {
*
* @returns A promise resolving when the handling is finished. Return value depends on the given type.
*/
public abstract handle (input: TInput): Promise<TOutput>;
public abstract handle(input: TInput): Promise<TOutput>;
/**
* Helper function that first runs the canHandle function followed by the handle function.