We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbcca03 commit 2985bd0Copy full SHA for 2985bd0
packages/repl/src/lib/Output/srcdoc/index.html
@@ -155,6 +155,11 @@
155
return { type: 'Set', value };
156
}
157
158
+ // if we don't handle bigints separately, they will cause JSON.stringify to blow up
159
+ if (typeof value === 'bigint') {
160
+ return { type: 'BigInt', value: value + '' };
161
+ }
162
+
163
return value;
164
});
165
} catch (error) {
0 commit comments