@atlaskit/eslint-plugin-design-system
Version:
The essential plugin for use with the Atlassian Design System.
10 lines (9 loc) • 329 B
TypeScript
import type { Scope } from 'eslint';
/**
* This will search first matched identifier in same and parent scopes.
* Returns first matched identifer otherwise null.
*/
export declare function findIdentifierInParentScope({ scope, identifierName, }: {
scope: Scope.Scope;
identifierName: string;
}): Scope.Variable | null;