chore: fix types

This commit is contained in:
Adhiraj Singh
2021-12-18 19:56:58 +05:30
parent a723b50741
commit 02dd8c93a6
2 changed files with 2 additions and 2 deletions

View File

@@ -363,7 +363,7 @@ export const makeSocket = ({
})
return {
type: 'legacy',
type: 'legacy' as 'legacy',
ws,
updateKeys: (info: { encKey: Buffer, macKey: Buffer }) => authInfo = info,
waitForSocketOpen,