Open normalpeople015 opened 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
Me too.
$ npm run build
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