From 496ba238b0dc6fca07ea11d9ac60ee046d09c91d Mon Sep 17 00:00:00 2001 From: "asamuzaK (Kazz)" Date: Sat, 9 Nov 2024 12:57:15 +0900 Subject: [PATCH] Update finder.js --- src/js/finder.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/finder.js b/src/js/finder.js index 0616e1d..80b6778 100644 --- a/src/js/finder.js +++ b/src/js/finder.js @@ -2090,8 +2090,8 @@ export class Finder { * @param {Array.} leaves - AST leaves * @param {object} node - node to start from * @param {object} opt - options - * @param {boolean} opt.force - traverse only to next node - * @param {string} opt.targetType - target type + * @param {boolean} [opt.force] - traverse only to next node + * @param {string} [opt.targetType] - target type * @returns {?object|Array.} - matched node / collection of nodes */ _findWalker(leaves, node, opt = {}) {