Skip to content

Error.prototype.cause is still missing with es2022/esnextΒ #47019

@saschanaz

Description

@saschanaz

Bug Report

πŸ”Ž Search Terms

error cause

πŸ•— Version & Regression Information

  • This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________

⏯ Playground Link

Playground link with relevant code

πŸ’» Code

new Error().cause

πŸ™ Actual behavior

Property 'cause' does not exist on type 'Error'.(2339)

πŸ™‚ Expected behavior

Error

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScript

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions