Skip to content

Commit

Permalink
refactor: drop undesired types
Browse files Browse the repository at this point in the history
  • Loading branch information
brettz9 committed Apr 28, 2022
1 parent fbe13b3 commit 403c952
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions espree.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,6 @@
* `comment` is not in `acorn.Options` and doesn't err without it, but is used
* @typedef {{
* allowReserved?: boolean,
* ranges?: boolean,
* locations?: boolean,
* allowReturnOutsideFunction?: boolean,
* onToken?: ((token: acorn.Token) => any) | acorn.Token[],
* onComment?: ((
* isBlock: boolean, text: string, start: number, end: number, startLoc?: acorn.Position,
* endLoc?: acorn.Position
* ) => void) | acorn.Comment[],
* ecmaVersion?: acorn.ecmaVersion,
* sourceType?: "script"|"module"|"commonjs",
* ecmaFeatures?: {
Expand All @@ -93,7 +85,7 @@
* loc?: boolean,
* tokens?: boolean | null,
* comment?: boolean,
* } & jsx.Options} ParserOptions
* }} ParserOptions
*/

// ----------------------------------------------------------------------------
Expand Down

0 comments on commit 403c952

Please sign in to comment.