nestjs-telegraf/lib/HandleParameters.ts

14 lines
311 B
TypeScript
Raw Normal View History

2019-02-28 11:29:26 +03:00
import { ContextTransformer } from './ContextTransformer'
import { Type } from '@nestjs/common'
interface ArgumentTransformation {
index: number
transform: Type<ContextTransformer>
}
export interface HandleParameters {
onStart?: boolean
command?: string
transformations?: ArgumentTransformation[]
}