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 83ae719 commit fbcca03Copy full SHA for fbcca03
packages/repl/src/lib/Output/AstNode.svelte
@@ -92,7 +92,7 @@
92
<span class="token comment">{String(value)}</span>
93
{:else}
94
<span class="token {typeof value}">
95
- {JSON.stringify(value)}
+ {typeof value === 'bigint' ? `${value}n` : JSON.stringify(value)}
96
</span>
97
{/if}
98
@@ -170,7 +170,8 @@
170
color: var(--shiki-token-string);
171
}
172
173
- .token.number {
+ .token.number,
174
+ .token.bigint {
175
color: var(--shiki-token-constant);
176
177
0 commit comments