UNPKG

810 BTypeScriptView Raw
1import * as ts from 'typescript';
2import { OutputFile } from './interfaces';
3export declare function toUnix(fileName: string): string;
4export declare function isCaseInsensitive(): boolean;
5export declare function findResultFor(fileName: string, outputFiles: ts.OutputFile[]): OutputFile;
6export declare function codegenErrorReport(errors: any): any;
7export declare function formatError(diagnostic: any): string;
8export declare function formatMessageChain(chain: ts.DiagnosticMessageChain): string;
9export declare function formatLineChar(lineChar: any): string;
10export declare function loadLib(moduleId: any): {
11 fileName: string;
12 text: string;
13};
14export declare function withoutTypeScriptExtension(fileName: string): string;
15export declare function unorderedRemoveItem<T>(array: T[], item: T): boolean;