Skip to content
1 min read · 213 words

Interface: ResolvedCalleeName ​

Defined in: src/eslint/rules/common.ts:149

A resolved callee name: the EXPORTED symbol a rule should match on, plus the binding shape it arrived through.

Remarks ​

A local identifier is not the match: import { createSkillManager as csm } means the file's csm(…) call names the export createSkillManager, and import * as ns from '@nhtio/adk/…' makes ns.createSkillManager(…) name it too. Rules that gate on a factory/class name resolve the callee through this record BEFORE matching on any name.

Properties ​

PropertyTypeDescriptionDefined in
fromAdkbooleanTrue when that import is from this package's public subpaths (@nhtio/adk or @nhtio/adk/…).src/eslint/rules/common.ts:159
importedbooleanTrue when the value binding came from an import statement in this file (any module).src/eslint/rules/common.ts:157
kind"namespace" | "plain" | "aliased"How the callee is bound in this file.src/eslint/rules/common.ts:153
localstringThe local identifier the file references the export through.src/eslint/rules/common.ts:155
namestringThe exported name to match on (the imported specifier, or the last member segment).src/eslint/rules/common.ts:151