chore: lint

This commit is contained in:
Rajeh Taher
2026-01-18 17:16:02 +02:00
parent 282f065f53
commit b62cb40a70
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -43,6 +43,7 @@ import {
} from '../Utils'
import { makeMutex } from '../Utils/make-mutex'
import processMessage from '../Utils/process-message'
import { buildTcTokenFromJid } from '../Utils/tc-token-utils'
import {
type BinaryNode,
getBinaryNodeChild,
@@ -54,7 +55,6 @@ import {
} from '../WABinary'
import { USyncQuery, USyncUser } from '../WAUSync'
import { makeSocket } from './socket.js'
import { buildTcTokenFromJid } from '../Utils/tc-token-utils'
const MAX_SYNC_ATTEMPTS = 2
export const makeChatsSocket = (config: SocketConfig) => {
+1
View File
@@ -75,6 +75,7 @@ export function makeCacheableSignalKeyStore(
const item = fetched[id]
if (item) {
data[id] = item
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
await cache.set(getUniqueId(type, id), item as SignalDataTypeMap[keyof SignalDataTypeMap])
}
}
+1 -1
View File
@@ -1,4 +1,4 @@
import type { AuthenticationCreds, SignalKeyStoreWithTransaction } from '../Types'
import type { SignalKeyStoreWithTransaction } from '../Types'
import type { BinaryNode } from '../WABinary'
type TcTokenParams = {