From 698229851d15107248c772ed54e6b00b21e75425 Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Tue, 26 Apr 2022 19:49:53 +0800 Subject: [PATCH] refactor: drop undesired types --- espree.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/espree.js b/espree.js index 7c3e17fb..da4e3953 100644 --- a/espree.js +++ b/espree.js @@ -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?: { @@ -93,7 +85,7 @@ * loc?: boolean, * tokens?: boolean | null, * comment?: boolean, - * } & jsx.Options} ParserOptions + * }} ParserOptions */ // ----------------------------------------------------------------------------