fix: update socket type exports to 'any' for improved flexibility

This commit is contained in:
Francisco Pessano
2025-08-14 17:42:51 +00:00
committed by GitHub
parent 0104bf87fe
commit 7e676ae9a8
3 changed files with 3 additions and 3 deletions

View File

@@ -361,4 +361,4 @@ export const extractGroupMetadata = (result: BinaryNode) => {
return metadata
}
export type GroupsSocket = ReturnType<typeof makeGroupsSocket>
export type GroupsSocket = any

View File

@@ -224,4 +224,4 @@ export const makeNewsletterSocket = (sock: GroupsSocket): any => {
}
}
export type NewsletterSocket = ReturnType<typeof makeNewsletterSocket>
export type NewsletterSocket = any

View File

@@ -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