@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/typescript.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 {
|
|
@@ -7251,9 +7255,9 @@ declare namespace ts {
|
|
|
7251
7255
|
/** @deprecated Use `factory.updateNamedImports` or the factory supplied by your transformation context instead. */
|
|
7252
7256
|
const updateNamedImports: (node: NamedImports, elements: readonly ImportSpecifier[]) => NamedImports;
|
|
7253
7257
|
/** @deprecated Use `factory.createImportSpecifier` or the factory supplied by your transformation context instead. */
|
|
7254
|
-
const createImportSpecifier: (propertyName: Identifier | undefined, name: Identifier) => ImportSpecifier;
|
|
7258
|
+
const createImportSpecifier: (isTypeOnly: boolean, propertyName: Identifier | undefined, name: Identifier) => ImportSpecifier;
|
|
7255
7259
|
/** @deprecated Use `factory.updateImportSpecifier` or the factory supplied by your transformation context instead. */
|
|
7256
|
-
const updateImportSpecifier: (node: ImportSpecifier, propertyName: Identifier | undefined, name: Identifier) => ImportSpecifier;
|
|
7260
|
+
const updateImportSpecifier: (node: ImportSpecifier, isTypeOnly: boolean, propertyName: Identifier | undefined, name: Identifier) => ImportSpecifier;
|
|
7257
7261
|
/** @deprecated Use `factory.createExportAssignment` or the factory supplied by your transformation context instead. */
|
|
7258
7262
|
const createExportAssignment: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isExportEquals: boolean | undefined, expression: Expression) => ExportAssignment;
|
|
7259
7263
|
/** @deprecated Use `factory.updateExportAssignment` or the factory supplied by your transformation context instead. */
|
|
@@ -7263,9 +7267,9 @@ declare namespace ts {
|
|
|
7263
7267
|
/** @deprecated Use `factory.updateNamedExports` or the factory supplied by your transformation context instead. */
|
|
7264
7268
|
const updateNamedExports: (node: NamedExports, elements: readonly ExportSpecifier[]) => NamedExports;
|
|
7265
7269
|
/** @deprecated Use `factory.createExportSpecifier` or the factory supplied by your transformation context instead. */
|
|
7266
|
-
const createExportSpecifier: (propertyName: string | Identifier | undefined, name: string | Identifier) => ExportSpecifier;
|
|
7270
|
+
const createExportSpecifier: (isTypeOnly: boolean, propertyName: string | Identifier | undefined, name: string | Identifier) => ExportSpecifier;
|
|
7267
7271
|
/** @deprecated Use `factory.updateExportSpecifier` or the factory supplied by your transformation context instead. */
|
|
7268
|
-
const updateExportSpecifier: (node: ExportSpecifier, propertyName: Identifier | undefined, name: Identifier) => ExportSpecifier;
|
|
7272
|
+
const updateExportSpecifier: (node: ExportSpecifier, isTypeOnly: boolean, propertyName: Identifier | undefined, name: Identifier) => ExportSpecifier;
|
|
7269
7273
|
/** @deprecated Use `factory.createExternalModuleReference` or the factory supplied by your transformation context instead. */
|
|
7270
7274
|
const createExternalModuleReference: (expression: Expression) => ExternalModuleReference;
|
|
7271
7275
|
/** @deprecated Use `factory.updateExternalModuleReference` or the factory supplied by your transformation context instead. */
|