fix(client): fix import and export

This commit is contained in:
Igor Kamyshev 2019-05-11 21:10:14 +03:00
parent 8e7bdd33f7
commit 303caeae8c
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
import { Injectable, Inject } from '@nestjs/common' import { Injectable, Inject } from '@nestjs/common'
import Telegram from 'telegraf/telegram' const Telegram = require('telegraf/telegram')
import { TokenInjectionToken } from './TokenInjectionToken' import { TokenInjectionToken } from './TokenInjectionToken'
import { TelegramModuleOptionsFactory } from './TelegramModuleOptionsFactory' import { TelegramModuleOptionsFactory } from './TelegramModuleOptionsFactory'

View File

@ -33,7 +33,7 @@ export class TelegramModule implements NestModule {
useClass: factory.useClass, useClass: factory.useClass,
}, },
], ],
exports: [TelegramBot], exports: [TelegramBot, TelegramClient],
} }
} }
} }