typescript 4.5.0-dev.20210927 → 4.5.0-dev.20210928
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/de/diagnosticMessages.generated.json +17 -5
- package/lib/it/diagnosticMessages.generated.json +15 -4
- package/lib/ko/diagnosticMessages.generated.json +15 -4
- package/lib/lib.dom.d.ts +669 -1896
- package/lib/lib.dom.iterable.d.ts +16 -48
- package/lib/lib.webworker.d.ts +183 -520
- package/lib/lib.webworker.iterable.d.ts +10 -30
- package/lib/ru/diagnosticMessages.generated.json +15 -4
- package/lib/tsc.js +204 -102
- package/lib/tsserver.js +677 -290
- package/lib/tsserverlibrary.d.ts +10 -8
- package/lib/tsserverlibrary.js +677 -290
- package/lib/typescript.d.ts +10 -8
- package/lib/typescript.js +677 -290
- package/lib/typescriptServices.d.ts +10 -8
- package/lib/typescriptServices.js +677 -290
- package/lib/typingsInstaller.js +255 -111
- package/lib/zh-tw/diagnosticMessages.generated.json +15 -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
|
}
|
|
@@ -3578,16 +3580,16 @@ declare namespace ts {
|
|
|
3578
3580
|
updateNamespaceExport(node: NamespaceExport, name: Identifier): NamespaceExport;
|
|
3579
3581
|
createNamedImports(elements: readonly ImportSpecifier[]): NamedImports;
|
|
3580
3582
|
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;
|
|
3583
|
+
createImportSpecifier(isTypeOnly: boolean, propertyName: Identifier | undefined, name: Identifier): ImportSpecifier;
|
|
3584
|
+
updateImportSpecifier(node: ImportSpecifier, isTypeOnly: boolean, propertyName: Identifier | undefined, name: Identifier): ImportSpecifier;
|
|
3583
3585
|
createExportAssignment(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isExportEquals: boolean | undefined, expression: Expression): ExportAssignment;
|
|
3584
3586
|
updateExportAssignment(node: ExportAssignment, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, expression: Expression): ExportAssignment;
|
|
3585
3587
|
createExportDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, exportClause: NamedExportBindings | undefined, moduleSpecifier?: Expression, assertClause?: AssertClause): ExportDeclaration;
|
|
3586
3588
|
updateExportDeclaration(node: ExportDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, exportClause: NamedExportBindings | undefined, moduleSpecifier: Expression | undefined, assertClause: AssertClause | undefined): ExportDeclaration;
|
|
3587
3589
|
createNamedExports(elements: readonly ExportSpecifier[]): NamedExports;
|
|
3588
3590
|
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;
|
|
3591
|
+
createExportSpecifier(isTypeOnly: boolean, propertyName: string | Identifier | undefined, name: string | Identifier): ExportSpecifier;
|
|
3592
|
+
updateExportSpecifier(node: ExportSpecifier, isTypeOnly: boolean, propertyName: Identifier | undefined, name: Identifier): ExportSpecifier;
|
|
3591
3593
|
createExternalModuleReference(expression: Expression): ExternalModuleReference;
|
|
3592
3594
|
updateExternalModuleReference(node: ExternalModuleReference, expression: Expression): ExternalModuleReference;
|
|
3593
3595
|
createJSDocAllType(): JSDocAllType;
|
|
@@ -11053,9 +11055,9 @@ declare namespace ts {
|
|
|
11053
11055
|
/** @deprecated Use `factory.updateNamedImports` or the factory supplied by your transformation context instead. */
|
|
11054
11056
|
const updateNamedImports: (node: NamedImports, elements: readonly ImportSpecifier[]) => NamedImports;
|
|
11055
11057
|
/** @deprecated Use `factory.createImportSpecifier` or the factory supplied by your transformation context instead. */
|
|
11056
|
-
const createImportSpecifier: (propertyName: Identifier | undefined, name: Identifier) => ImportSpecifier;
|
|
11058
|
+
const createImportSpecifier: (isTypeOnly: boolean, propertyName: Identifier | undefined, name: Identifier) => ImportSpecifier;
|
|
11057
11059
|
/** @deprecated Use `factory.updateImportSpecifier` or the factory supplied by your transformation context instead. */
|
|
11058
|
-
const updateImportSpecifier: (node: ImportSpecifier, propertyName: Identifier | undefined, name: Identifier) => ImportSpecifier;
|
|
11060
|
+
const updateImportSpecifier: (node: ImportSpecifier, isTypeOnly: boolean, propertyName: Identifier | undefined, name: Identifier) => ImportSpecifier;
|
|
11059
11061
|
/** @deprecated Use `factory.createExportAssignment` or the factory supplied by your transformation context instead. */
|
|
11060
11062
|
const createExportAssignment: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isExportEquals: boolean | undefined, expression: Expression) => ExportAssignment;
|
|
11061
11063
|
/** @deprecated Use `factory.updateExportAssignment` or the factory supplied by your transformation context instead. */
|
|
@@ -11065,9 +11067,9 @@ declare namespace ts {
|
|
|
11065
11067
|
/** @deprecated Use `factory.updateNamedExports` or the factory supplied by your transformation context instead. */
|
|
11066
11068
|
const updateNamedExports: (node: NamedExports, elements: readonly ExportSpecifier[]) => NamedExports;
|
|
11067
11069
|
/** @deprecated Use `factory.createExportSpecifier` or the factory supplied by your transformation context instead. */
|
|
11068
|
-
const createExportSpecifier: (propertyName: string | Identifier | undefined, name: string | Identifier) => ExportSpecifier;
|
|
11070
|
+
const createExportSpecifier: (isTypeOnly: boolean, propertyName: string | Identifier | undefined, name: string | Identifier) => ExportSpecifier;
|
|
11069
11071
|
/** @deprecated Use `factory.updateExportSpecifier` or the factory supplied by your transformation context instead. */
|
|
11070
|
-
const updateExportSpecifier: (node: ExportSpecifier, propertyName: Identifier | undefined, name: Identifier) => ExportSpecifier;
|
|
11072
|
+
const updateExportSpecifier: (node: ExportSpecifier, isTypeOnly: boolean, propertyName: Identifier | undefined, name: Identifier) => ExportSpecifier;
|
|
11071
11073
|
/** @deprecated Use `factory.createExternalModuleReference` or the factory supplied by your transformation context instead. */
|
|
11072
11074
|
const createExternalModuleReference: (expression: Expression) => ExternalModuleReference;
|
|
11073
11075
|
/** @deprecated Use `factory.updateExternalModuleReference` or the factory supplied by your transformation context instead. */
|