@typescript-deploys/pr-build 4.5.0-pr-45884-7 → 4.5.0-pr-46071-13
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/cs/diagnosticMessages.generated.json +24 -7
- package/lib/de/diagnosticMessages.generated.json +24 -7
- package/lib/es/diagnosticMessages.generated.json +24 -7
- package/lib/fr/diagnosticMessages.generated.json +24 -7
- package/lib/it/diagnosticMessages.generated.json +24 -7
- package/lib/ja/diagnosticMessages.generated.json +24 -7
- package/lib/ko/diagnosticMessages.generated.json +24 -7
- package/lib/lib.dom.d.ts +669 -1896
- package/lib/lib.dom.iterable.d.ts +16 -48
- package/lib/lib.es2021.d.ts +1 -0
- package/lib/lib.es2021.intl.d.ts +9 -0
- package/lib/lib.es5.d.ts +10 -10
- package/lib/lib.webworker.d.ts +183 -520
- package/lib/lib.webworker.iterable.d.ts +10 -30
- package/lib/pl/diagnosticMessages.generated.json +24 -7
- package/lib/protocol.d.ts +1 -0
- package/lib/pt-br/diagnosticMessages.generated.json +24 -7
- package/lib/ru/diagnosticMessages.generated.json +24 -7
- package/lib/tr/diagnosticMessages.generated.json +24 -7
- package/lib/tsc.js +841 -439
- package/lib/tsserver.js +1457 -661
- package/lib/tsserverlibrary.d.ts +14 -9
- package/lib/tsserverlibrary.js +1457 -661
- package/lib/typescript.d.ts +13 -9
- package/lib/typescript.js +1457 -661
- package/lib/typescriptServices.d.ts +13 -9
- package/lib/typescriptServices.js +1457 -661
- package/lib/typingsInstaller.js +965 -462
- package/lib/zh-cn/diagnosticMessages.generated.json +24 -7
- package/lib/zh-tw/diagnosticMessages.generated.json +24 -7
- package/package.json +1 -1
package/lib/tsserverlibrary.d.ts
CHANGED
|
@@ -670,7 +670,7 @@ declare namespace ts {
|
|
|
670
670
|
readonly parent: Declaration;
|
|
671
671
|
readonly expression: Expression;
|
|
672
672
|
}
|
|
673
|
-
export interface PrivateIdentifier extends
|
|
673
|
+
export interface PrivateIdentifier extends PrimaryExpression {
|
|
674
674
|
readonly kind: SyntaxKind.PrivateIdentifier;
|
|
675
675
|
readonly escapedText: __String;
|
|
676
676
|
}
|
|
@@ -1698,10 +1698,12 @@ declare namespace ts {
|
|
|
1698
1698
|
readonly parent: NamedImports;
|
|
1699
1699
|
readonly propertyName?: Identifier;
|
|
1700
1700
|
readonly name: Identifier;
|
|
1701
|
+
readonly isTypeOnly: boolean;
|
|
1701
1702
|
}
|
|
1702
1703
|
export interface ExportSpecifier extends NamedDeclaration {
|
|
1703
1704
|
readonly kind: SyntaxKind.ExportSpecifier;
|
|
1704
1705
|
readonly parent: NamedExports;
|
|
1706
|
+
readonly isTypeOnly: boolean;
|
|
1705
1707
|
readonly propertyName?: Identifier;
|
|
1706
1708
|
readonly name: Identifier;
|
|
1707
1709
|
}
|
|
@@ -3023,6 +3025,7 @@ declare namespace ts {
|
|
|
3023
3025
|
System = 4,
|
|
3024
3026
|
ES2015 = 5,
|
|
3025
3027
|
ES2020 = 6,
|
|
3028
|
+
ES2022 = 7,
|
|
3026
3029
|
ESNext = 99,
|
|
3027
3030
|
Node12 = 100,
|
|
3028
3031
|
NodeNext = 199
|
|
@@ -3578,16 +3581,16 @@ declare namespace ts {
|
|
|
3578
3581
|
updateNamespaceExport(node: NamespaceExport, name: Identifier): NamespaceExport;
|
|
3579
3582
|
createNamedImports(elements: readonly ImportSpecifier[]): NamedImports;
|
|
3580
3583
|
updateNamedImports(node: NamedImports, elements: readonly ImportSpecifier[]): NamedImports;
|
|
3581
|
-
createImportSpecifier(propertyName: Identifier | undefined, name: Identifier): ImportSpecifier;
|
|
3582
|
-
updateImportSpecifier(node: ImportSpecifier, propertyName: Identifier | undefined, name: Identifier): ImportSpecifier;
|
|
3584
|
+
createImportSpecifier(isTypeOnly: boolean, propertyName: Identifier | undefined, name: Identifier): ImportSpecifier;
|
|
3585
|
+
updateImportSpecifier(node: ImportSpecifier, isTypeOnly: boolean, propertyName: Identifier | undefined, name: Identifier): ImportSpecifier;
|
|
3583
3586
|
createExportAssignment(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isExportEquals: boolean | undefined, expression: Expression): ExportAssignment;
|
|
3584
3587
|
updateExportAssignment(node: ExportAssignment, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, expression: Expression): ExportAssignment;
|
|
3585
3588
|
createExportDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, exportClause: NamedExportBindings | undefined, moduleSpecifier?: Expression, assertClause?: AssertClause): ExportDeclaration;
|
|
3586
3589
|
updateExportDeclaration(node: ExportDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, exportClause: NamedExportBindings | undefined, moduleSpecifier: Expression | undefined, assertClause: AssertClause | undefined): ExportDeclaration;
|
|
3587
3590
|
createNamedExports(elements: readonly ExportSpecifier[]): NamedExports;
|
|
3588
3591
|
updateNamedExports(node: NamedExports, elements: readonly ExportSpecifier[]): NamedExports;
|
|
3589
|
-
createExportSpecifier(propertyName: string | Identifier | undefined, name: string | Identifier): ExportSpecifier;
|
|
3590
|
-
updateExportSpecifier(node: ExportSpecifier, propertyName: Identifier | undefined, name: Identifier): ExportSpecifier;
|
|
3592
|
+
createExportSpecifier(isTypeOnly: boolean, propertyName: string | Identifier | undefined, name: string | Identifier): ExportSpecifier;
|
|
3593
|
+
updateExportSpecifier(node: ExportSpecifier, isTypeOnly: boolean, propertyName: Identifier | undefined, name: Identifier): ExportSpecifier;
|
|
3591
3594
|
createExternalModuleReference(expression: Expression): ExternalModuleReference;
|
|
3592
3595
|
updateExternalModuleReference(node: ExternalModuleReference, expression: Expression): ExternalModuleReference;
|
|
3593
3596
|
createJSDocAllType(): JSDocAllType;
|
|
@@ -4045,6 +4048,7 @@ declare namespace ts {
|
|
|
4045
4048
|
readonly providePrefixAndSuffixTextForRename?: boolean;
|
|
4046
4049
|
readonly includePackageJsonAutoImports?: "auto" | "on" | "off";
|
|
4047
4050
|
readonly provideRefactorNotApplicableReason?: boolean;
|
|
4051
|
+
readonly jsxAttributeCompletionStyle?: "auto" | "braces" | "none";
|
|
4048
4052
|
}
|
|
4049
4053
|
/** Represents a bigint literal value without requiring bigint support */
|
|
4050
4054
|
export interface PseudoBigInt {
|
|
@@ -9536,6 +9540,7 @@ declare namespace ts.server.protocol {
|
|
|
9536
9540
|
readonly provideRefactorNotApplicableReason?: boolean;
|
|
9537
9541
|
readonly allowRenameOfImportPath?: boolean;
|
|
9538
9542
|
readonly includePackageJsonAutoImports?: "auto" | "on" | "off";
|
|
9543
|
+
readonly jsxAttributeCompletionStyle?: "auto" | "braces" | "none";
|
|
9539
9544
|
readonly displayPartsForJSDoc?: boolean;
|
|
9540
9545
|
readonly generateReturnInDocTemplate?: boolean;
|
|
9541
9546
|
}
|
|
@@ -11051,9 +11056,9 @@ declare namespace ts {
|
|
|
11051
11056
|
/** @deprecated Use `factory.updateNamedImports` or the factory supplied by your transformation context instead. */
|
|
11052
11057
|
const updateNamedImports: (node: NamedImports, elements: readonly ImportSpecifier[]) => NamedImports;
|
|
11053
11058
|
/** @deprecated Use `factory.createImportSpecifier` or the factory supplied by your transformation context instead. */
|
|
11054
|
-
const createImportSpecifier: (propertyName: Identifier | undefined, name: Identifier) => ImportSpecifier;
|
|
11059
|
+
const createImportSpecifier: (isTypeOnly: boolean, propertyName: Identifier | undefined, name: Identifier) => ImportSpecifier;
|
|
11055
11060
|
/** @deprecated Use `factory.updateImportSpecifier` or the factory supplied by your transformation context instead. */
|
|
11056
|
-
const updateImportSpecifier: (node: ImportSpecifier, propertyName: Identifier | undefined, name: Identifier) => ImportSpecifier;
|
|
11061
|
+
const updateImportSpecifier: (node: ImportSpecifier, isTypeOnly: boolean, propertyName: Identifier | undefined, name: Identifier) => ImportSpecifier;
|
|
11057
11062
|
/** @deprecated Use `factory.createExportAssignment` or the factory supplied by your transformation context instead. */
|
|
11058
11063
|
const createExportAssignment: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isExportEquals: boolean | undefined, expression: Expression) => ExportAssignment;
|
|
11059
11064
|
/** @deprecated Use `factory.updateExportAssignment` or the factory supplied by your transformation context instead. */
|
|
@@ -11063,9 +11068,9 @@ declare namespace ts {
|
|
|
11063
11068
|
/** @deprecated Use `factory.updateNamedExports` or the factory supplied by your transformation context instead. */
|
|
11064
11069
|
const updateNamedExports: (node: NamedExports, elements: readonly ExportSpecifier[]) => NamedExports;
|
|
11065
11070
|
/** @deprecated Use `factory.createExportSpecifier` or the factory supplied by your transformation context instead. */
|
|
11066
|
-
const createExportSpecifier: (propertyName: string | Identifier | undefined, name: string | Identifier) => ExportSpecifier;
|
|
11071
|
+
const createExportSpecifier: (isTypeOnly: boolean, propertyName: string | Identifier | undefined, name: string | Identifier) => ExportSpecifier;
|
|
11067
11072
|
/** @deprecated Use `factory.updateExportSpecifier` or the factory supplied by your transformation context instead. */
|
|
11068
|
-
const updateExportSpecifier: (node: ExportSpecifier, propertyName: Identifier | undefined, name: Identifier) => ExportSpecifier;
|
|
11073
|
+
const updateExportSpecifier: (node: ExportSpecifier, isTypeOnly: boolean, propertyName: Identifier | undefined, name: Identifier) => ExportSpecifier;
|
|
11069
11074
|
/** @deprecated Use `factory.createExternalModuleReference` or the factory supplied by your transformation context instead. */
|
|
11070
11075
|
const createExternalModuleReference: (expression: Expression) => ExternalModuleReference;
|
|
11071
11076
|
/** @deprecated Use `factory.updateExternalModuleReference` or the factory supplied by your transformation context instead. */
|