reafctor(): remove unused code & add exports

This commit is contained in:
Arthur
2020-12-29 22:48:19 +03:00
parent 8c72790226
commit 306f239603
7 changed files with 6 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
import { SetMetadata } from '@nestjs/common';
import { UpdateMethodArgs, UpdateMethods } from '../telegraf.types';
import { UPDATE_LISTENER_METADATA } from '../telegraf.constants';
import { ListenerMetadata } from '../interfaces/listener-metadata.interface';
import { ListenerMetadata } from '../interfaces';
export function createUpdateDecorator<Method extends UpdateMethods>(
method: Method,

1
lib/helpers/index.ts Normal file
View File

@@ -0,0 +1 @@
export * from './create-update-decorator.helper';