| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:b28c8789-841d-63c7-6d31-1d86085ad4db |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D4BA:22DB35:3908283:48C31B0:6B01E8C2 |
| html-safe-nonce | 6a65d7cc2a8f1ffcc557e576e5665e1140b271bef323fb997201b6e316a566a4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEJBOjIyREIzNTozOTA4MjgzOjQ4QzMxQjA6NkIwMUU4QzIiLCJ2aXNpdG9yX2lkIjoiODY3ODk4ODA0NzczMzM1MjY0MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b64694141e2d5fa74e10a341f3401f69d18796a7d74b05d172a8e54556606b27 |
| hovercard-subject-tag | pull_request:975270683 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/microsoft/TypeScript/49639/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/389f49031dd3679dfffbf8c71c494b2ffe5ac67bdcda735ac6d915d276972a6e/microsoft/TypeScript/pull/49639 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/389f49031dd3679dfffbf8c71c494b2ffe5ac67bdcda735ac6d915d276972a6e/microsoft/TypeScript/pull/49639 |
| og:image:alt | Describe your changes
This PR fixes #45167 which changes the type of Error.prototype.cause from Error to Unknown
Testing performed
I added new tests to ensure that unknown type is recognised
Additi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iamharbie |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-cache |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/microsoft/TypeScript/pull/49639#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F49639 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F49639 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=microsoft%2FTypeScript |
| Reload | https://github.com/microsoft/TypeScript/pull/49639 |
| Reload | https://github.com/microsoft/TypeScript/pull/49639 |
| Reload | https://github.com/microsoft/TypeScript/pull/49639 |
| microsoft | https://github.com/microsoft |
| TypeScript | https://github.com/microsoft/TypeScript |
| Code | https://github.com/microsoft/TypeScript |
| Issues5k (5k) | https://github.com/microsoft/TypeScript/issues |
| Pull requests312 (312) | https://github.com/microsoft/TypeScript/pulls |
| Actions | https://github.com/microsoft/TypeScript/actions |
| Projects | https://github.com/microsoft/TypeScript/projects |
| Wiki | https://github.com/microsoft/TypeScript/wiki |
| Security and quality | https://github.com/microsoft/TypeScript/security |
| Insights | https://github.com/microsoft/TypeScript/insights |
| https://github.com/microsoft/TypeScript |
| Ryan Cavanaugh (RyanCavanaugh) | https://github.com/RyanCavanaugh |
| microsoft:main | https://github.com/microsoft/TypeScript/tree/main |
| bloomberg:oss-hackathon-45167 | https://github.com/bloomberg/TypeScript/tree/oss-hackathon-45167 |
| Conversation | https://github.com/microsoft/TypeScript/pull/49639 |
| Commits1 (1) | https://github.com/microsoft/TypeScript/pull/49639/commits |
| Checks | https://github.com/microsoft/TypeScript/pull/49639/checks |
| Files changed | https://github.com/microsoft/TypeScript/pull/49639/files |
| Set Error.prototype.cause type to unknown (#70) | https://github.com/microsoft/TypeScript/pull/49639#top |
| Ryan Cavanaugh (RyanCavanaugh) | https://github.com/RyanCavanaugh |
| microsoft:main | https://github.com/microsoft/TypeScript/tree/main |
| bloomberg:oss-hackathon-45167 | https://github.com/bloomberg/TypeScript/tree/oss-hackathon-45167 |
|
| https://github.com/iamharbie |
| iamharbie | https://github.com/iamharbie |
| Jun 22, 2022 | https://github.com/microsoft/TypeScript/pull/49639#issue-1280329519 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/49639 |
| #45167 | https://github.com/microsoft/TypeScript/issues/45167 |
| #48098 | https://github.com/microsoft/TypeScript/issues/48098 |
| Daniel Rosenwasser (@DanielRosenwasser) | https://github.com/DanielRosenwasser |
| suggested | https://github.com/microsoft/TypeScript/issues/48098#issuecomment-1057902739 |
| #45167 | https://github.com/microsoft/TypeScript/issues/45167 |
| Kubilay Kahveci (@mkubilayk) | https://github.com/mkubilayk |
| Titian Cernicova-Dragomir (@dragomirtitian) | https://github.com/dragomirtitian |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/49639 |
|
| https://github.com/iamharbie |
| Set Error.prototype.cause type to unknown ( | https://github.com/microsoft/TypeScript/pull/49639/commits/43429c5b0775435210e2d41f36af2689d84f4ae8 |
| #70 | https://github.com/bloomberg/TypeScript/pull/70 |
| ) | https://github.com/microsoft/TypeScript/pull/49639/commits/43429c5b0775435210e2d41f36af2689d84f4ae8 |
| 43429c5 | https://github.com/microsoft/TypeScript/pull/49639/commits/43429c5b0775435210e2d41f36af2689d84f4ae8 |
| https://github.com/typescript-bot |
| TypeScript Bot (typescript-bot) | https://github.com/typescript-bot |
|
For Uncommitted Bug
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22 |
| Jun 22, 2022 | https://github.com/microsoft/TypeScript/pull/49639#event-6857371502 |
| https://github.com/typescript-bot |
| TypeScript Bot (typescript-bot) | https://github.com/typescript-bot |
| Jun 22, 2022 | https://github.com/microsoft/TypeScript/pull/49639#issuecomment-1163239876 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/49639 |
| https://github.com/ghost |
| Deleted user (ghost) | https://github.com/ghost |
| Jun 22, 2022 | https://github.com/microsoft/TypeScript/pull/49639#issuecomment-1163240014 |
| https://cla.opensource.microsoft.com/microsoft/TypeScript?pullRequest=49639 |
| Contributor License Agreement | https://cla.opensource.microsoft.com/microsoft/TypeScript?pullRequest=49639 |
| sign now | https://cla.opensource.microsoft.com/microsoft/TypeScript?pullRequest=49639 |
| recheck | https://cla.opensource.microsoft.com/check/microsoft/TypeScript?pullRequest=49639 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/49639 |
| https://github.com/typescript-bot |
| TypeScript Bot (typescript-bot) | https://github.com/typescript-bot |
|
For Backlog Bug
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Backlog%20Bug%22 |
|
For Uncommitted Bug
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Uncommitted%20Bug%22 |
| Jun 22, 2022 | https://github.com/microsoft/TypeScript/pull/49639#event-6857381337 |
| https://github.com/voxpelli |
| Pelle Wessman (voxpelli) | https://github.com/voxpelli |
|
Jun 23, 2022
| https://github.com/microsoft/TypeScript/pull/49639#pullrequestreview-1016980084 |
|
View reviewed changes
| https://github.com/microsoft/TypeScript/pull/49639/files/43429c5b0775435210e2d41f36af2689d84f4ae8 |
| Pelle Wessman (voxpelli) | https://github.com/voxpelli |
| https://github.com/microsoft/TypeScript/pull/49639#pullrequestreview-1016980084 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| voxpelli/pony-cause#35 | https://github.com/voxpelli/pony-cause/issues/35 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/49639 |
| https://github.com/voxpelli |
| Pelle Wessman (voxpelli) | https://github.com/voxpelli |
|
Jun 23, 2022
| https://github.com/microsoft/TypeScript/pull/49639#ref-issue-1236160712 |
|
TypeScript error
voxpelli/pony-cause#35
| https://github.com/voxpelli/pony-cause/issues/35 |
| https://github.com/ljharb |
| Jordan Harband (ljharb) | https://github.com/ljharb |
|
Jun 23, 2022
| https://github.com/microsoft/TypeScript/pull/49639#pullrequestreview-1017022641 |
|
View reviewed changes
| https://github.com/microsoft/TypeScript/pull/49639/files/43429c5b0775435210e2d41f36af2689d84f4ae8 |
| https://github.com/mkubilayk |
| Kubilay Kahveci (mkubilayk) | https://github.com/mkubilayk |
|
Jun 24, 2022
| https://github.com/microsoft/TypeScript/pull/49639#ref-pullrequest-1284069787 |
|
Add case to capture enum subtype reduction (addresses #35867)
#49675
| https://github.com/microsoft/TypeScript/pull/49675 |
| https://github.com/voxpelli |
| Pelle Wessman (voxpelli) | https://github.com/voxpelli |
| Jun 29, 2022 | https://github.com/microsoft/TypeScript/pull/49639#issuecomment-1170174992 |
| iamharbie | https://github.com/iamharbie |
| Kubilay Kahveci (@mkubilayk) | https://github.com/mkubilayk |
| Titian Cernicova-Dragomir (@dragomirtitian) | https://github.com/dragomirtitian |
| iamharbie | https://github.com/iamharbie |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/49639 |
| https://github.com/voxpelli |
| Pelle Wessman (voxpelli) | https://github.com/voxpelli |
| Jun 29, 2022 | https://github.com/microsoft/TypeScript/pull/49639#issuecomment-1170176421 |
| Ryan Cavanaugh (@RyanCavanaugh) | https://github.com/RyanCavanaugh |
| #49675 (comment) | https://github.com/microsoft/TypeScript/pull/49675#issuecomment-1165902970 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/49639 |
| https://github.com/iamharbie |
| iamharbie | https://github.com/iamharbie |
| Jul 5, 2022 | https://github.com/microsoft/TypeScript/pull/49639#event-6933023480 |
| https://github.com/iamharbie |
| iamharbie | https://github.com/iamharbie |
| Jul 5, 2022 | https://github.com/microsoft/TypeScript/pull/49639#event-6933024286 |
| https://github.com/voxpelli |
| Pelle Wessman (voxpelli) | https://github.com/voxpelli |
|
Jul 5, 2022
| https://github.com/microsoft/TypeScript/pull/49639#ref-issue-1233167256 |
|
TypeScript 4.8 Iteration Plan
#49074
| https://github.com/microsoft/TypeScript/issues/49074 |
| https://github.com/RyanCavanaugh |
| Ryan Cavanaugh (RyanCavanaugh) | https://github.com/RyanCavanaugh |
| 1f0d0f7 | https://github.com/microsoft/TypeScript/commit/1f0d0f7c665636aa5456ac9de3dbb68a2a086a84 |
| Jul 5, 2022 | https://github.com/microsoft/TypeScript/pull/49639#event-6937991683 |
| https://github.com/DanielRosenwasser |
| Daniel Rosenwasser (DanielRosenwasser) | https://github.com/DanielRosenwasser |
|
Breaking Change
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Breaking%20Change%22 |
| Jul 11, 2022 | https://github.com/microsoft/TypeScript/pull/49639#event-6971691644 |
| https://github.com/voxpelli |
| Pelle Wessman (voxpelli) | https://github.com/voxpelli |
|
Jul 12, 2022
| https://github.com/microsoft/TypeScript/pull/49639#ref-pullrequest-1302025509 |
|
[verror]: Fix @types/verror to work with es2022.error on TS 4.8
DefinitelyTyped/DefinitelyTyped#61199
| https://github.com/DefinitelyTyped/DefinitelyTyped/pull/61199 |
| TypeScript Bot (typescript-bot) | https://github.com/typescript-bot |
|
Jul 20, 2022
| https://github.com/microsoft/TypeScript/pull/49639#ref-commit-93ea81e |
|
| https://github.com/voxpelli |
| 🤖 Merge PR | https://github.com/DefinitelyTyped/DefinitelyTyped/commit/93ea81ea86bdf0d6647f74089711079308685c7a |
| #61199 | https://github.com/DefinitelyTyped/DefinitelyTyped/pull/61199 |
| [verror]: Fix | https://github.com/DefinitelyTyped/DefinitelyTyped/commit/93ea81ea86bdf0d6647f74089711079308685c7a |
| @types/verror | https://github.com/DefinitelyTyped/DefinitelyTyped/commit/93ea81ea86bdf0d6647f74089711079308685c7a |
| to work with `es2022.… | https://github.com/DefinitelyTyped/DefinitelyTyped/commit/93ea81ea86bdf0d6647f74089711079308685c7a |
| 93ea81e | https://github.com/DefinitelyTyped/DefinitelyTyped/commit/93ea81ea86bdf0d6647f74089711079308685c7a |
| @voxpelli | https://github.com/voxpelli |
| voxpelli/pony-cause#41 | https://github.com/voxpelli/pony-cause/pull/41 |
| voxpelli/pony-cause#35 | https://github.com/voxpelli/pony-cause/issues/35 |
| microsoft/TypeScript#49639 | https://github.com/microsoft/TypeScript/pull/49639 |
| https://github.com/mcmire |
| Elliot Winkler (mcmire) | https://github.com/mcmire |
|
Aug 2, 2022
| https://github.com/microsoft/TypeScript/pull/49639#ref-pullrequest-1308768322 |
|
Add flow for monorepo w/ independent versions
MetaMask/create-release-branch#6
| https://github.com/MetaMask/create-release-branch/pull/6 |
| https://github.com/conartist6 |
| Conrad Buck (conartist6) | https://github.com/conartist6 |
|
Aug 5, 2022
| https://github.com/microsoft/TypeScript/pull/49639#ref-pullrequest-1174327670 |
|
error-cause: Update types to match TS lib
DefinitelyTyped/DefinitelyTyped#59354
| https://github.com/DefinitelyTyped/DefinitelyTyped/pull/59354 |
|
feat(node): Error.cause property support
DefinitelyTyped/DefinitelyTyped#61790
| https://github.com/DefinitelyTyped/DefinitelyTyped/pull/61790 |
|
Revert "feat(node): Error.cause property support"
DefinitelyTyped/DefinitelyTyped#61827
| https://github.com/DefinitelyTyped/DefinitelyTyped/pull/61827 |
| https://github.com/AlexanderKolberg |
| Alexander Kolberg (AlexanderKolberg) | https://github.com/AlexanderKolberg |
|
Sep 27, 2023
| https://github.com/microsoft/TypeScript/pull/49639#ref-issue-1880220104 |
|
Property 'cause' in type 'WebrpcError' is not assignable to the same property in base type 'Error'.
webrpc/webrpc#231
| https://github.com/webrpc/webrpc/issues/231 |
| https://github.com/microsoft |
| Microsoft (microsoft) | https://github.com/microsoft |
| Oct 22, 2025 | https://github.com/microsoft/TypeScript/pull/49639#event-20417559005 |
| https://github.co/hiddenchars |
| https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F49639 |
|
| https://github.com/voxpelli |
|
Pelle Wessman (voxpelli)
| https://github.com/voxpelli |
|
| https://github.com/microsoft/TypeScript/pull/49639/files/43429c5b0775435210e2d41f36af2689d84f4ae8 |
|
| https://github.com/ljharb |
|
Jordan Harband (ljharb)
| https://github.com/ljharb |
|
| https://github.com/microsoft/TypeScript/pull/49639/files/43429c5b0775435210e2d41f36af2689d84f4ae8 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/49639 |
|
Breaking Change
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Breaking%20Change%22 |
|
For Backlog Bug
| https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Backlog%20Bug%22 |
|
Error.prototype.cause has inaccurate value type
| https://github.com/microsoft/TypeScript/issues/48098 |
|
TC39 proposal - Error.cause property
| https://github.com/microsoft/TypeScript/issues/45167 |
| Please reload this page | https://github.com/microsoft/TypeScript/pull/49639 |
|
| https://github.com/iamharbie |
|
| https://github.com/typescript-bot |
|
| https://github.com/voxpelli |
|
| https://github.com/ljharb |
|
| https://github.com/DanielRosenwasser |
|
| https://github.com/RyanCavanaugh |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |