-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
Labels
Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featureThis means we'd like to hear from more people who would be helped by this featureSuggestionAn idea for TypeScriptAn idea for TypeScript
Description
lib Update Request
Missing / Incorrect Definition
Error.prototype.cause
's value is currently set to Error
, which is inaccurate as it can accept anything, and as such should be unknown
.
Sample Code
new Error("foo", { cause: "bar" });
Documentation Link
majg0, voxpelli, PaperStrike, francisdb, slifty and 4 moreDanielRosenwasser, slifty and proudCobolWriter
Metadata
Metadata
Assignees
Labels
Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featureThis means we'd like to hear from more people who would be helped by this featureSuggestionAn idea for TypeScriptAn idea for TypeScript