Skip to content

Commit 7161cfc

Browse files
jsdoc fix: The argument is named object, not node
1 parent 90d5879 commit 7161cfc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/SymbolTree.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ class SymbolTree {
178178
* @param {Object} [options]
179179
* @param {Object} [options.root] If set, `root` must be an inclusive ancestor
180180
* of the return value (or else null is returned). This check _assumes_
181-
* that `root` is also an inclusive ancestor of the given `node`
181+
* that `root` is also an inclusive ancestor of the given `object`
182182
* @returns {?Object}
183183
*/
184184
preceding(object, options) {
@@ -212,7 +212,7 @@ class SymbolTree {
212212
* @param {Object} [options]
213213
* @param {Object} [options.root] If set, `root` must be an inclusive ancestor
214214
* of the return value (or else null is returned). This check _assumes_
215-
* that `root` is also an inclusive ancestor of the given `node`
215+
* that `root` is also an inclusive ancestor of the given `object`
216216
* @param {Boolean} [options.skipChildren=false] If set, ignore the children of `object`
217217
* @returns {?Object}
218218
*/

0 commit comments

Comments
 (0)