Skip to content

Conversation

@lukaw3d
Copy link
Contributor

@lukaw3d lukaw3d commented Jun 28, 2024

Related to #3168

Playground Logs should display bigints in logged objects

Before:
https://www.typescriptlang.org/play/?target=7#code/PTAEAEBcEMCcHMCmkBcoCiBlATABjwFADGA9gHYDOJANogHTUnwAUA3qNGgIw+9-8DBQ4ULKgAvgEoCQA

  • // @target: ES2020
    console.log({ a: 11111111111111111111111111111111111111111111111111111n })
  • Click "Run"
  • [ERR]: "Executed JavaScript Failed:"
    [ERR]: Do not know how to serialize a BigInt

After:

  • [LOG]: {
    "a": "BigInt('11111111111111111111111111111111111111111111111111111')"
    }

@jakebailey jakebailey added the deploy-preview Enables automatic deployments to preview environments on a PR label Jun 28, 2024
@github-actions
Copy link
Contributor

Azure Static Web Apps: Your stage site is ready! Visit it here: https://victorious-plant-05c166c10-3169.centralus.5.azurestaticapps.net

@jakebailey jakebailey merged commit 309e3e3 into microsoft:v2 Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deploy-preview Enables automatic deployments to preview environments on a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants