build(ts): disable stripInternal
This commit is contained in:
parent
8baacc701c
commit
f277bbc41c
3 changed files with 1 additions and 3 deletions
|
@ -12,7 +12,6 @@ peers.chats.set(1, createStub('channel', { id: 1 }))
|
|||
const createMessageContext = (partial: Partial<tl.RawMessage>) =>
|
||||
new MessageContext(
|
||||
StubTelegramClient.full(), // eslint-disable-line
|
||||
{},
|
||||
new Message(createStub('message', partial), peers, false),
|
||||
)
|
||||
|
||||
|
|
|
@ -85,7 +85,6 @@ describe('i18n', () => {
|
|||
it('should parse language from a message', () => {
|
||||
const message = new MessageContext(
|
||||
null as never,
|
||||
{},
|
||||
new Message(
|
||||
{ _: 'message', peerId: { _: 'peerUser', userId: 1 } } as never,
|
||||
PeersIndex.from({
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"incremental": true,
|
||||
"stripInternal": true,
|
||||
"stripInternal": false,
|
||||
"skipLibCheck": true,
|
||||
"composite": true,
|
||||
"types": [
|
||||
|
|
Loading…
Reference in a new issue