-
-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
The tsnext
tests are now failing: https://github.com/voxpelli/pony-cause/runs/7605089081?check_suite_focus=true
index.js(9,25): error TS2463: A binding pattern parameter cannot be optional in an implementation signature.
Happens at:
pony-cause/lib/error-with-cause.js
Lines 5 to 9 in 4009048
/** | |
* @param {string} message | |
* @param {{ cause?: T }} [options] | |
*/ | |
constructor (message, { cause } = {}) { |
Likely caused by:
- fix(49869): No error in JavaScript on optional binding pattern parameter microsoft/TypeScript#50094
- No error in JavaScript on optional binding pattern parameter microsoft/TypeScript#49869
Spontaneous thought is that TS has regressed rather than this being a correct error, but have to dig into it.
jespertheend
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working