Skip to content

Commit 049575b

Browse files
refactor(types): type parseTree's options as terser's parse options
1 parent 718d61c commit 049575b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/javascript/syntax-printer.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15292,7 +15292,7 @@ const installFusedParse = (modules) => {
1529215292
* nodes, with the tokens and comments `parse` reads.
1529315293
* @template T
1529415294
* @param {string} text the source
15295-
* @param {EXPECTED_OBJECT} givenOptions terser's parse options
15295+
* @param {ParseOptions} givenOptions terser's parse options
1529615296
* @param {(tree: SyntaxTree, program: number, tokenAt: (pos: number, ending: boolean, forward?: number) => number | undefined, table: TokenTable) => T} readTokens what to read off the tree's tokens, before they are narrowed
1529715297
* @returns {{ tree: SyntaxTree, program: number, tables: TokenTables, read: T }} the tree, its program, the tables its tokens' numbers are read through, and what `readTokens` read
1529815298
*/

0 commit comments

Comments
 (0)