9 lines
276 B
TypeScript
9 lines
276 B
TypeScript
import type { BasicParserObject } from "./parser-object.js";
|
|
/**
|
|
* Load `espree` from the loaded ESLint.
|
|
* If the loaded ESLint was not found, just returns `require("espree")`.
|
|
*/
|
|
export declare function getEspree(): BasicParserObject & {
|
|
latestEcmaVersion: number;
|
|
};
|