Files
n8n-nodes-gwezz-changdunovel/node_modules/eslint-plugin-import-x/lib/utils/declared-scope.js
2025-10-26 23:10:15 +08:00

6 lines
282 B
JavaScript

export function declaredScope(context, node, name) {
const references = context.sourceCode.getScope(node).references;
const reference = references.find(x => x.identifier.name === name);
return reference?.resolved?.scope.type;
}
//# sourceMappingURL=declared-scope.js.map