Skip to content

Commit 4abaddd

Browse files
committed
remove export *
1 parent 637771e commit 4abaddd

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2589,5 +2589,3 @@ export type MethodReturn<T extends keyof TelegramBot> = T extends unknown
25892589
? U
25902590
: never
25912591
: never;
2592-
2593-
export * from './types';

tests/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { createReadStream } from 'fs';
33
import { readFile } from 'fs/promises';
44
import { FileOptions, TelegramBot } from '../src';
55
import { TelegramError } from '../src/errors';
6-
import { ForumTopic, File, User, StickerSet, Update } from '../src';
6+
import { ForumTopic, File, User, StickerSet, Update } from '../src/types';
77

88
const TOKEN = process.env.TEST_TELEGRAM_TOKEN as string;
99
const USERID = parseInt(process.env.TEST_USER_ID as string);

tests/polling.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import 'dotenv/config';
22
import axios from 'axios';
3-
import { TelegramBot, Message, Update } from '../src';
3+
import { Update, Message } from '../src/types';
4+
import { TelegramBot } from '../src';
45
import MockAdapter from 'axios-mock-adapter';
56

67
const mock = new MockAdapter(axios);

0 commit comments

Comments
 (0)