@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/tsserverlibrary.d.ts
CHANGED
|
@@ -3400,7 +3400,7 @@ declare namespace ts {
|
|
|
3400
3400
|
markAsDirty(): void;
|
|
3401
3401
|
getScriptFileNames(): string[];
|
|
3402
3402
|
getLanguageService(): never;
|
|
3403
|
-
|
|
3403
|
+
getHostForAutoImportProvider(): never;
|
|
3404
3404
|
getProjectReferences(): readonly ts.ProjectReference[] | undefined;
|
|
3405
3405
|
getTypeAcquisition(): TypeAcquisition;
|
|
3406
3406
|
}
|
|
@@ -4084,7 +4084,6 @@ declare namespace ts {
|
|
|
4084
4084
|
interface SortedArray<T> extends Array<T> {
|
|
4085
4085
|
" __sortedArrayBrand": any;
|
|
4086
4086
|
}
|
|
4087
|
-
function startWhitespaceCount(s: string): number;
|
|
4088
4087
|
type Path = string & {
|
|
4089
4088
|
__pathBrand: any;
|
|
4090
4089
|
};
|
|
@@ -9487,7 +9486,7 @@ declare namespace ts {
|
|
|
9487
9486
|
function formatDiagnostics(diagnostics: readonly Diagnostic[], host: FormatDiagnosticsHost): string;
|
|
9488
9487
|
function formatDiagnostic(diagnostic: Diagnostic, host: FormatDiagnosticsHost): string;
|
|
9489
9488
|
function formatDiagnosticsWithColorAndContext(diagnostics: readonly Diagnostic[], host: FormatDiagnosticsHost): string;
|
|
9490
|
-
function flattenDiagnosticMessageText(diag: string | DiagnosticMessageChain | undefined, newLine: string, indent?: number
|
|
9489
|
+
function flattenDiagnosticMessageText(diag: string | DiagnosticMessageChain | undefined, newLine: string, indent?: number): string;
|
|
9491
9490
|
/**
|
|
9492
9491
|
* Calculates the resulting resolution mode for some reference in some file - this is generally the explicitly
|
|
9493
9492
|
* provided resolution mode in the reference, unless one is not present, in which case it is the mode of the containing file.
|
|
@@ -10979,6 +10978,10 @@ declare namespace ts {
|
|
|
10979
10978
|
variableElement = "var",
|
|
10980
10979
|
/** Inside function */
|
|
10981
10980
|
localVariableElement = "local var",
|
|
10981
|
+
/** using foo = ... */
|
|
10982
|
+
variableUsingElement = "using",
|
|
10983
|
+
/** await using foo = ... */
|
|
10984
|
+
variableAwaitUsingElement = "await using",
|
|
10982
10985
|
/**
|
|
10983
10986
|
* Inside module and script only
|
|
10984
10987
|
* function f() { }
|