@typescript-deploys/pr-build 4.5.0-pr-46071-5 → 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 +17 -4
- package/lib/de/diagnosticMessages.generated.json +19 -5
- package/lib/es/diagnosticMessages.generated.json +17 -4
- package/lib/fr/diagnosticMessages.generated.json +17 -4
- package/lib/it/diagnosticMessages.generated.json +17 -4
- package/lib/ja/diagnosticMessages.generated.json +17 -4
- package/lib/ko/diagnosticMessages.generated.json +17 -4
- package/lib/lib.dom.d.ts +669 -1896
- package/lib/lib.dom.iterable.d.ts +16 -48
- 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 +17 -4
- package/lib/pt-br/diagnosticMessages.generated.json +17 -4
- package/lib/ru/diagnosticMessages.generated.json +17 -4
- package/lib/tr/diagnosticMessages.generated.json +17 -4
- package/lib/tsc.js +522 -322
- package/lib/tsserver.js +1015 -514
- package/lib/tsserverlibrary.d.ts +11 -8
- package/lib/tsserverlibrary.js +1015 -514
- package/lib/typescript.d.ts +11 -8
- package/lib/typescript.js +1015 -514
- package/lib/typescriptServices.d.ts +11 -8
- package/lib/typescriptServices.js +1015 -514
- package/lib/typingsInstaller.js +588 -331
- package/lib/zh-cn/diagnosticMessages.generated.json +17 -4
- package/lib/zh-tw/diagnosticMessages.generated.json +17 -4
- package/package.json +1 -1
package/lib/tsserverlibrary.d.ts
CHANGED
|
@@ -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;
|
|
@@ -11053,9 +11056,9 @@ declare namespace ts {
|
|
|
11053
11056
|
/** @deprecated Use `factory.updateNamedImports` or the factory supplied by your transformation context instead. */
|
|
11054
11057
|
const updateNamedImports: (node: NamedImports, elements: readonly ImportSpecifier[]) => NamedImports;
|
|
11055
11058
|
/** @deprecated Use `factory.createImportSpecifier` or the factory supplied by your transformation context instead. */
|
|
11056
|
-
const createImportSpecifier: (propertyName: Identifier | undefined, name: Identifier) => ImportSpecifier;
|
|
11059
|
+
const createImportSpecifier: (isTypeOnly: boolean, propertyName: Identifier | undefined, name: Identifier) => ImportSpecifier;
|
|
11057
11060
|
/** @deprecated Use `factory.updateImportSpecifier` or the factory supplied by your transformation context instead. */
|
|
11058
|
-
const updateImportSpecifier: (node: ImportSpecifier, propertyName: Identifier | undefined, name: Identifier) => ImportSpecifier;
|
|
11061
|
+
const updateImportSpecifier: (node: ImportSpecifier, isTypeOnly: boolean, propertyName: Identifier | undefined, name: Identifier) => ImportSpecifier;
|
|
11059
11062
|
/** @deprecated Use `factory.createExportAssignment` or the factory supplied by your transformation context instead. */
|
|
11060
11063
|
const createExportAssignment: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isExportEquals: boolean | undefined, expression: Expression) => ExportAssignment;
|
|
11061
11064
|
/** @deprecated Use `factory.updateExportAssignment` or the factory supplied by your transformation context instead. */
|
|
@@ -11065,9 +11068,9 @@ declare namespace ts {
|
|
|
11065
11068
|
/** @deprecated Use `factory.updateNamedExports` or the factory supplied by your transformation context instead. */
|
|
11066
11069
|
const updateNamedExports: (node: NamedExports, elements: readonly ExportSpecifier[]) => NamedExports;
|
|
11067
11070
|
/** @deprecated Use `factory.createExportSpecifier` or the factory supplied by your transformation context instead. */
|
|
11068
|
-
const createExportSpecifier: (propertyName: string | Identifier | undefined, name: string | Identifier) => ExportSpecifier;
|
|
11071
|
+
const createExportSpecifier: (isTypeOnly: boolean, propertyName: string | Identifier | undefined, name: string | Identifier) => ExportSpecifier;
|
|
11069
11072
|
/** @deprecated Use `factory.updateExportSpecifier` or the factory supplied by your transformation context instead. */
|
|
11070
|
-
const updateExportSpecifier: (node: ExportSpecifier, propertyName: Identifier | undefined, name: Identifier) => ExportSpecifier;
|
|
11073
|
+
const updateExportSpecifier: (node: ExportSpecifier, isTypeOnly: boolean, propertyName: Identifier | undefined, name: Identifier) => ExportSpecifier;
|
|
11071
11074
|
/** @deprecated Use `factory.createExternalModuleReference` or the factory supplied by your transformation context instead. */
|
|
11072
11075
|
const createExternalModuleReference: (expression: Expression) => ExternalModuleReference;
|
|
11073
11076
|
/** @deprecated Use `factory.updateExternalModuleReference` or the factory supplied by your transformation context instead. */
|