mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2024-12-24 23:14:39 +03:00
14 lines
311 B
TypeScript
14 lines
311 B
TypeScript
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[]
|
|
}
|