@typescript-deploys/pr-build 5.2.0-pr-54838-4 → 5.2.0-pr-54935-7
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 +347 -341
- package/lib/tsserver.js +529 -418
- package/lib/tsserverlibrary.d.ts +6 -3
- package/lib/tsserverlibrary.js +529 -417
- package/lib/typescript.d.ts +5 -2
- package/lib/typescript.js +508 -396
- 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
|
};
|
|
@@ -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.
|
|
@@ -7010,6 +7009,10 @@ declare namespace ts {
|
|
|
7010
7009
|
variableElement = "var",
|
|
7011
7010
|
/** Inside function */
|
|
7012
7011
|
localVariableElement = "local var",
|
|
7012
|
+
/** using foo = ... */
|
|
7013
|
+
variableUsingElement = "using",
|
|
7014
|
+
/** await using foo = ... */
|
|
7015
|
+
variableAwaitUsingElement = "await using",
|
|
7013
7016
|
/**
|
|
7014
7017
|
* Inside module and script only
|
|
7015
7018
|
* function f() { }
|