mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
chore: fix types
This commit is contained in:
@@ -363,7 +363,7 @@ export const makeSocket = ({
|
||||
})
|
||||
|
||||
return {
|
||||
type: 'legacy',
|
||||
type: 'legacy' as 'legacy',
|
||||
ws,
|
||||
updateKeys: (info: { encKey: Buffer, macKey: Buffer }) => authInfo = info,
|
||||
waitForSocketOpen,
|
||||
|
||||
@@ -540,7 +540,7 @@ export const makeSocket = ({
|
||||
ev.on('creds.update', update => Object.assign(creds, update))
|
||||
|
||||
return {
|
||||
type: 'md',
|
||||
type: 'md' as 'md',
|
||||
ws,
|
||||
ev,
|
||||
authState: {
|
||||
|
||||
Reference in New Issue
Block a user