(name: string, kinds: Set<string>)
| 1340 | // Prefer a target in THIS SFC (handlers live in the same file's script) — |
| 1341 | // avoids cross-file mis-match when a name repeats across a monorepo. |
| 1342 | const resolve = (name: string, kinds: Set<string>): Node | undefined => { |
| 1343 | const matches = ctx.getNodesByName(name).filter((n) => kinds.has(n.kind)); |
| 1344 | return matches.find((n) => n.filePath === file) ?? matches[0]; |
| 1345 | }; |
| 1346 | |
| 1347 | let m: RegExpExecArray | null; |
| 1348 | VUE_KEBAB_RE.lastIndex = 0; |
no test coverage detected