Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Property 'creds' and 'keys' does not exist on type 'object'. #8

Closed
bobykurniawan11 opened this issue May 15, 2024 · 1 comment
Closed

Comments

@bobykurniawan11
Copy link

"@types/qrcode-terminal": "^0.12.2",
"@whiskeysockets/baileys":"github:WhiskeySockets/Baileys",

  const conn = makeWASocket({
   auth: {
			creds: state.creds, // i get error here 
			keys: makeCacheableSignalKeyStore(state.keys, logger),
		},
    printQRInTerminal: true,
    syncFullHistory: false,
    browser: Browsers.macOS('Chrome'),
    logger: logger,
    mobile: false,
    defaultQueryTimeoutMs: undefined,
    shouldSyncHistoryMessage: () => false,
  });

In this part creds: state.creds i get this error Property 'creds' does not exist on type 'object'.ts

In this part
keys: makeCacheableSignalKeyStore(state.keys, logger). I get this error Property 'keys' does not exist on type 'object'.

@bobslavtriev
Copy link
Owner

Update mysql-baileys with npm i github:bobslavtriev/mysql-baileys --force

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants