Skip to content

Commit 403c952

Browse files
committed
refactor: drop undesired types
1 parent fbe13b3 commit 403c952

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

espree.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,6 @@
7474
* `comment` is not in `acorn.Options` and doesn't err without it, but is used
7575
* @typedef {{
7676
* allowReserved?: boolean,
77-
* ranges?: boolean,
78-
* locations?: boolean,
79-
* allowReturnOutsideFunction?: boolean,
80-
* onToken?: ((token: acorn.Token) => any) | acorn.Token[],
81-
* onComment?: ((
82-
* isBlock: boolean, text: string, start: number, end: number, startLoc?: acorn.Position,
83-
* endLoc?: acorn.Position
84-
* ) => void) | acorn.Comment[],
8577
* ecmaVersion?: acorn.ecmaVersion,
8678
* sourceType?: "script"|"module"|"commonjs",
8779
* ecmaFeatures?: {
@@ -93,7 +85,7 @@
9385
* loc?: boolean,
9486
* tokens?: boolean | null,
9587
* comment?: boolean,
96-
* } & jsx.Options} ParserOptions
88+
* }} ParserOptions
9789
*/
9890

9991
// ----------------------------------------------------------------------------

0 commit comments

Comments
 (0)