Files
vega-frontend-monorepo/setup-test.ts
T

9 lines
215 B
TypeScript

import { TextEncoder, TextDecoder } from 'util';
(global as any).TextEncoder = TextEncoder;
(global as any).TextDecoder = TextDecoder;
(BigInt.prototype as any).toJSON = function () {
return this.toString();
};