mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-18 16:02:10 +00:00
add bigint serialization
This commit is contained in:
@@ -1507,6 +1507,10 @@ const args = await Deno.readTextFile("args.json")
|
||||
.then(JSON.parse)
|
||||
.then(({{ {spread} }}) => [ {spread} ])
|
||||
|
||||
BigInt.prototype.toJSON = function () {{
|
||||
return this.toString();
|
||||
}};
|
||||
|
||||
{dates}
|
||||
async function run() {{
|
||||
let res: any = await main(...args);
|
||||
|
||||
Reference in New Issue
Block a user