import { BaseExt, BaseParams, ConfigArguments, expandGlobSync, ExtOptions, WalkEntry, } from "./deps.ts"; export type Ext
> = [ ext: E | undefined, options: ExtOptions, params: P, ]; export type ValidExt = "toml" | "lazy"; export async function getExt
>(
{ denops }: ConfigArguments,
extName: ValidExt,
): Promise ;
}
export function gatherCheckFiles(path: string, glob: string): string[] {
return Array.from(
expandGlobSync(glob, {
root: path,
globstar: true,
}),
).map(({ path }: WalkEntry) => path);
}