refactor(client): moved parse-update.ts to types/updates

This commit is contained in:
teidesu 2022-10-30 20:36:17 +03:00
parent 77f1429b05
commit f5986e694a
2 changed files with 3 additions and 3 deletions

View file

@ -13,7 +13,7 @@ import { TelegramClient } from '../client'
import { normalizeToInputChannel } from '../utils/peer-utils'
import { extractChannelIdFromUpdate } from '../utils/misc-utils'
import { MtArgumentError, PeersIndex } from '../types'
import { _parseUpdate } from '../utils/parse-update'
import { _parseUpdate } from '../types/updates/parse-update'
// @copy
import { ConditionVariable } from '@mtcute/core/src/utils/condition-variable'

View file

@ -1,6 +1,6 @@
import { tl } from '@mtcute/tl'
import { TelegramClient } from '../client'
import { TelegramClient } from '../../client'
import {
BotChatJoinRequestUpdate,
BotStoppedUpdate,
@ -18,7 +18,7 @@ import {
PollVoteUpdate,
UserStatusUpdate,
UserTypingUpdate,
} from '../types'
} from '../index'
type ParserFunction = (
client: TelegramClient,