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

This reverts commit a3733b0424.
This commit is contained in:
Francis Cao 2026-02-16 16:20:04 -08:00
parent a3733b0424
commit 2260520ae5
12 changed files with 15 additions and 38 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 as any).toJSON = function () {
BigInt.prototype.toJSON = function () {
return Number(this);
};