SourceTermAnalysisSystem_vue/node_modules/eslint-plugin-toml/lib/utils/compat.d.ts
2026-05-15 10:22:44 +08:00

6 lines
368 B
TypeScript

import type { RuleContext, SourceCode } from "../types";
import type { Rule, SourceCode as ESLintSourceCode } from "eslint";
export declare function getSourceCode(context: RuleContext): SourceCode;
export declare function getSourceCode(context: Rule.RuleContext): ESLintSourceCode;
export declare function getFilename(context: RuleContext | Rule.RuleContext): string;