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

14 lines
459 B
TypeScript

export type TOMLVersionOption = "1.0" | "1.1" | "1.0.0" | "1.1.0" | "latest" | "next";
export interface TOMLVer {
lt(major: number, minor: number): boolean;
gte(major: number, minor: number): boolean;
}
export interface ParserOptions {
filePath?: string;
tomlVersion?: TOMLVersionOption;
}
/**
* Get TOML version object from given TOML version string.
*/
export declare function getTOMLVer(v: TOMLVersionOption | undefined | null): TOMLVer;