UNPKG

eslint-module-utils

Version:

Core utilities to support eslint-plugin-import and other module-related plugins.

11 lines (8 loc) 245 B
import { Rule, Scope } from 'eslint'; import * as ESTree from 'estree'; declare function declaredScope( context: Rule.RuleContext, name: string, node?: ESTree.Node, ): Scope.Scope['type'] | undefined; export default declaredScope;