Skip to content

Commit

Permalink
fix(types): Ensure proper types in Momoa JS
Browse files Browse the repository at this point in the history
  • Loading branch information
nzakas committed Feb 12, 2024
1 parent 96c178f commit 4ffe83b
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions js/src/errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,19 @@ export class ErrorWithLocation extends Error {

/**
* The line on which the error occurred.
* @type number
* @property line
* @type {number}
*/
this.line = line;

/**
* The column on which the error occurred.
* @type number
* @property column
* @type {number}
*/
this.column = column;

/**
* The index into the string where the error occurred.
* @type number
* @property offset
* @type {number}
*/
this.offset = offset;
}
Expand Down

0 comments on commit 4ffe83b

Please sign in to comment.