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

error while runing npm run build on server #1

Closed
ahmadhozien opened this issue Jan 10, 2023 · 1 comment
Closed

error while runing npm run build on server #1

ahmadhozien opened this issue Jan 10, 2023 · 1 comment

Comments

@ahmadhozien
Copy link

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:19:12 - error TS7006: Parameter 'm' implicitly has an 'any' type.

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

Found 3 errors in 2 files.

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

@ookamiiixd
Copy link
Owner

This is more like an issue in your TS configuration

@ookamiiixd ookamiiixd closed this as not planned Won't fix, can't repro, duplicate, stale Jan 25, 2023
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