elearning/Frontend-Learner/node_modules/eslint-import-context/lib/index.d.ts
2026-01-13 10:48:02 +07:00

5 lines
351 B
TypeScript

import type { ChildContext, RuleContext } from './types.js';
export type * from './types.js';
export * from './utils.js';
export declare const setRuleContext: <T = void>(nextRuleContext: ChildContext | RuleContext, callback: () => T) => T;
export declare const useRuleContext: () => ChildContext | RuleContext<string, readonly unknown[]> | undefined;