UNPKG

732 BTypeScriptView Raw
1/** Convert a path to its output destination. */
2export declare function getOutPath(inDir: string, fPath: string, outDir: string): string;
3interface FormatErrorOptions {
4 /** File the error is in */
5 file: string;
6 /** Line the error is on */
7 line: string;
8 /** Column in line the error is on */
9 column: string;
10 /** Tool used to create error. */
11 tool: string;
12 /** Message for the error */
13 message: string;
14 /** Source code where the error is */
15 code: string;
16}
17/** Format an error in a Typescript style so they match across tools */
18export declare function formatError({ file, line, column, tool, message, code }: FormatErrorOptions): string;
19export {};
20//# sourceMappingURL=utils.d.ts.map
\No newline at end of file