Skip to content

Commit 0e1d38a

Browse files
committed
docs(linter/plugins): clarify JSDoc comment for getTokensBetween (#16070)
Style nit. Make the description of `countOptions` for this function consistent with the other methods. I missed this one in #16062.
1 parent d597db1 commit 0e1d38a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/oxlint/src-js/plugins/tokens.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,7 @@ export function getTokensAfter(
11071107
* Get all of the tokens between two non-overlapping nodes.
11081108
* @param left - Node or token before the desired token range.
11091109
* @param right - Node or token after the desired token range.
1110-
* @param countOptions? - Options object. If this is a function then it's `options.filter`.
1110+
* @param countOptions? - Options object. If is a function, equivalent to `{ filter: fn }`.
11111111
* @returns Array of `Token`s between `left` and `right`.
11121112
*/
11131113
/**

0 commit comments

Comments
 (0)