ookamiiixd / baileys-api

Simple WhatsApp REST API with multiple device support
MIT License
433 stars 329 forks source link

Error npm run build #172

Open normalpeople015 opened 1 year ago

normalpeople015 commented 1 year ago

$ npm run build

baileys-api@1.0.0-beta.0 build tsc

src/controllers/chat.ts:16:12 - error TS7006: Parameter 'c' implicitly has an 'any' type.

16 ).map((c) => serializePrisma(c)); ~

src/controllers/chat.ts:42:12 - error TS7006: Parameter 'm' implicitly has an 'any' type.

42 ).map((m) => serializePrisma(m)); ~

src/controllers/message.ts:20:12 - error TS7006: Parameter 'm' implicitly has an 'any' type.

20 ).map((m) => serializePrisma(m)); ~

Found 3 errors in 2 files.

Errors Files 2 src/controllers/chat.ts:16 1 src/controllers/message.ts:20

jhernancanom commented 1 year ago

Me too.