Fix TypeScript type errors across multiple files
Some checks failed
Node.js CI / build (push) Has been cancelled

This commit is contained in:
Mike Cao 2026-02-05 21:25:46 -08:00
parent 860e6390f1
commit a3733b0424
12 changed files with 38 additions and 15 deletions

View file

@ -5,7 +5,7 @@ export const KAFKA = 'kafka';
export const KAFKA_PRODUCER = 'kafka-producer';
// Fixes issue with converting bigint values
BigInt.prototype.toJSON = function () {
(BigInt.prototype as any).toJSON = function () {
return Number(this);
};