@typescript-deploys/pr-build 5.2.0-pr-54838-4 → 5.2.0-pr-54922-6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/tsc.js +302 -330
- package/lib/tsserver.js +478 -406
- package/lib/tsserverlibrary.d.ts +3 -4
- package/lib/tsserverlibrary.js +478 -405
- package/lib/typescript.d.ts +2 -3
- package/lib/typescript.js +457 -384
- package/lib/typingsInstaller.js +104 -100
- package/package.json +2 -2
package/lib/typescript.d.ts
CHANGED
|
@@ -31,7 +31,6 @@ declare namespace ts {
|
|
|
31
31
|
interface SortedArray<T> extends Array<T> {
|
|
32
32
|
" __sortedArrayBrand": any;
|
|
33
33
|
}
|
|
34
|
-
function startWhitespaceCount(s: string): number;
|
|
35
34
|
type Path = string & {
|
|
36
35
|
__pathBrand: any;
|
|
37
36
|
};
|
|
@@ -2222,7 +2221,7 @@ declare namespace ts {
|
|
|
2222
2221
|
getSourceFileByPath(path: Path): SourceFile | undefined;
|
|
2223
2222
|
getCurrentDirectory(): string;
|
|
2224
2223
|
}
|
|
2225
|
-
interface ParseConfigHost {
|
|
2224
|
+
interface ParseConfigHost extends ModuleResolutionHost {
|
|
2226
2225
|
useCaseSensitiveFileNames: boolean;
|
|
2227
2226
|
readDirectory(rootDir: string, extensions: readonly string[], excludes: readonly string[] | undefined, includes: readonly string[], depth?: number): readonly string[];
|
|
2228
2227
|
/**
|
|
@@ -5434,7 +5433,7 @@ declare namespace ts {
|
|
|
5434
5433
|
function formatDiagnostics(diagnostics: readonly Diagnostic[], host: FormatDiagnosticsHost): string;
|
|
5435
5434
|
function formatDiagnostic(diagnostic: Diagnostic, host: FormatDiagnosticsHost): string;
|
|
5436
5435
|
function formatDiagnosticsWithColorAndContext(diagnostics: readonly Diagnostic[], host: FormatDiagnosticsHost): string;
|
|
5437
|
-
function flattenDiagnosticMessageText(diag: string | DiagnosticMessageChain | undefined, newLine: string, indent?: number
|
|
5436
|
+
function flattenDiagnosticMessageText(diag: string | DiagnosticMessageChain | undefined, newLine: string, indent?: number): string;
|
|
5438
5437
|
/**
|
|
5439
5438
|
* Calculates the resulting resolution mode for some reference in some file - this is generally the explicitly
|
|
5440
5439
|
* provided resolution mode in the reference, unless one is not present, in which case it is the mode of the containing file.
|