UNPKG

628 BTypeScriptView Raw
1import * as ts from 'typescript';
2export interface ISourceFileLocationFormatOptions {
3 sourceFileLine?: number;
4 sourceFileColumn?: number;
5 workingPackageFolderPath?: string;
6}
7export declare class SourceFileLocationFormatter {
8 /**
9 * Returns a string such as this, based on the context information in the provided node:
10 * "[C:\Folder\File.ts#123]"
11 */
12 static formatDeclaration(node: ts.Node, workingPackageFolderPath?: string): string;
13 static formatPath(sourceFilePath: string, options?: ISourceFileLocationFormatOptions): string;
14}
15//# sourceMappingURL=SourceFileLocationFormatter.d.ts.map
\No newline at end of file