mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
fix: update socket type exports to 'any' for improved flexibility
This commit is contained in:
committed by
GitHub
parent
0104bf87fe
commit
7e676ae9a8
@@ -361,4 +361,4 @@ export const extractGroupMetadata = (result: BinaryNode) => {
|
||||
return metadata
|
||||
}
|
||||
|
||||
export type GroupsSocket = ReturnType<typeof makeGroupsSocket>
|
||||
export type GroupsSocket = any
|
||||
|
||||
@@ -224,4 +224,4 @@ export const makeNewsletterSocket = (sock: GroupsSocket): any => {
|
||||
}
|
||||
}
|
||||
|
||||
export type NewsletterSocket = ReturnType<typeof makeNewsletterSocket>
|
||||
export type NewsletterSocket = any
|
||||
|
||||
@@ -8,6 +8,6 @@ export * from './WABinary'
|
||||
export * from './WAM'
|
||||
export * from './WAUSync'
|
||||
|
||||
export type WASocket = ReturnType<typeof makeWASocket>
|
||||
export type WASocket = any
|
||||
export { makeWASocket }
|
||||
export default makeWASocket
|
||||
|
||||
Reference in New Issue
Block a user