prettylint
Version:
Run Prettier as a linter
10 lines (9 loc) • 333 B
TypeScript
/// <reference types="node" resolution-mode="require"/>
/**
* Get stats of a given path without following symbolic links.
*/
export declare function lstatSafe(filePath: string): Promise<import("fs").Stats | undefined>;
/**
* Replace `\` with `/` on Windows
*/
export declare const normalizeToPosix: (filepath: string) => string;