Skip to content

Commit

Permalink
Fix type regression in tsnext. Fixes #45
Browse files Browse the repository at this point in the history
  • Loading branch information
voxpelli committed Aug 26, 2022
1 parent 0643e96 commit 4e0843f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/error-with-cause.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
class ErrorWithCause extends Error { // linemod-prefix-with: export
/**
* @param {string} message
* @param {{ cause?: T }} [options]
* @param {{ cause?: T }} options
*/
constructor (message, { cause } = {}) {
super(message);
Expand Down

0 comments on commit 4e0843f

Please sign in to comment.