Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Error npm run build #172

Open
normalpeople015 opened this issue Mar 30, 2023 · 1 comment
Open

Error npm run build #172

normalpeople015 opened this issue Mar 30, 2023 · 1 comment

Comments

@normalpeople015
Copy link

$ 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
Copy link

Me too.

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

No branches or pull requests

2 participants