diff --git a/deno-client/mod.ts b/deno-client/mod.ts index 52ed882ec5..41d8860282 100644 --- a/deno-client/mod.ts +++ b/deno-client/mod.ts @@ -7,6 +7,12 @@ export { UserService, WorkspaceService } from './windmill-api/index.ts' + +// @ts-ignore: Otherwise BigInt is not supported for export +BigInt.prototype.toJSON = function () { + return this.toString(); +}; + export { pgSql, pgClient } from './pg.ts' export { mySql, mysqlClient } from './mysql.ts'