Skip to content

Conversation

@voxpelli
Copy link
Owner

@voxpelli voxpelli commented Jul 7, 2022

No description provided.

@voxpelli
Copy link
Owner Author

Waiting for DefinitelyTyped/DefinitelyTyped#61199 before merging

@voxpelli voxpelli force-pushed the test-on-ts-next branch 2 times, most recently from 1192e86 to 4922c99 Compare July 12, 2022 15:25
typescript-bot pushed a commit to DefinitelyTyped/DefinitelyTyped that referenced this pull request Jul 20, 2022
…error` on TS `4.8` by @voxpelli

This commit fixes the following error, which appears when running TS `^4.8.0-dev.20220707` with eg. ` npx tsc --lib es2020,es2022.error,es2021.promise` or ` npx tsc --lib esnext`

> error TS2425: Class 'Error' defines instance member property 'cause', but extended class 'VError' defines it as instance member function.

Discovered in voxpelli/pony-cause#41 when looking to extend the tests for voxpelli/pony-cause#35 to detect whether the nightly of `4.8.0` now correctly fixes that, following the merge of microsoft/TypeScript#49639
@voxpelli voxpelli merged commit f770b96 into main Jul 20, 2022
@voxpelli voxpelli deleted the test-on-ts-next branch July 20, 2022 02:12
@voxpelli voxpelli mentioned this pull request Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants