style: applied linter rules for all files

This commit is contained in:
atassis
2022-07-09 17:40:49 +08:00
parent 91d9207ba6
commit 9935b87d45
10 changed files with 35 additions and 34 deletions

View File

@@ -4,7 +4,8 @@ import { TgArgumentsHost } from './tg-arguments-host.interface';
export class TelegrafArgumentsHost
extends ExecutionContextHost
implements TgArgumentsHost {
implements TgArgumentsHost
{
static create(context: ArgumentsHost): TelegrafArgumentsHost {
const type = context.getType();
const tgContext = new TelegrafArgumentsHost(context.getArgs());

View File

@@ -6,7 +6,8 @@ export type TelegrafContextType = 'telegraf' | ContextType;
export class TelegrafExecutionContext
extends ExecutionContextHost
implements TgArgumentsHost {
implements TgArgumentsHost
{
static create(context: ExecutionContext): TelegrafExecutionContext {
const type = context.getType();
const tgContext = new TelegrafExecutionContext(