declaredScope.d.ts 245 B

12345678910
  1. import { Rule, Scope } from 'eslint';
  2. import * as ESTree from 'estree';
  3. declare function declaredScope(
  4. context: Rule.RuleContext,
  5. name: string,
  6. node?: ESTree.Node,
  7. ): Scope.Scope['type'] | undefined;
  8. export default declaredScope;