gatsby-telemetry
Version:
9 lines (8 loc) • 348 B
TypeScript
/// <reference types="node" />
export interface IErrorWithStdErrAndStdOut {
stderr?: Buffer | string;
stdout?: Buffer | string;
[key: string]: unknown;
}
export declare function cleanPaths(str: string, separator?: string): string;
export declare function sanitizeError(error: IErrorWithStdErrAndStdOut, pathSeparator?: string): string;