typescript 4.6.0-dev.20220117 → 4.6.0-dev.20220121
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/lib.dom.d.ts +144 -58
- package/lib/lib.dom.iterable.d.ts +7 -0
- package/lib/lib.es2015.iterable.d.ts +2 -1
- package/lib/lib.es2020.intl.d.ts +4 -0
- package/lib/lib.es5.d.ts +0 -2
- package/lib/lib.webworker.d.ts +80 -17
- package/lib/lib.webworker.iterable.d.ts +7 -0
- package/lib/protocol.d.ts +1 -0
- package/lib/tsc.js +119 -47
- package/lib/tsserver.js +184 -95
- package/lib/tsserverlibrary.d.ts +5 -3
- package/lib/tsserverlibrary.js +184 -95
- package/lib/typescript.d.ts +4 -3
- package/lib/typescript.js +170 -93
- package/lib/typescriptServices.d.ts +4 -3
- package/lib/typescriptServices.js +170 -93
- package/lib/typingsInstaller.js +129 -48
- package/package.json +2 -2
package/lib/typescript.d.ts
CHANGED
|
@@ -1652,7 +1652,7 @@ declare namespace ts {
|
|
|
1652
1652
|
readonly kind: SyntaxKind.AssertEntry;
|
|
1653
1653
|
readonly parent: AssertClause;
|
|
1654
1654
|
readonly name: AssertionKey;
|
|
1655
|
-
readonly value:
|
|
1655
|
+
readonly value: Expression;
|
|
1656
1656
|
}
|
|
1657
1657
|
export interface AssertClause extends Node {
|
|
1658
1658
|
readonly kind: SyntaxKind.AssertClause;
|
|
@@ -3576,8 +3576,8 @@ declare namespace ts {
|
|
|
3576
3576
|
updateImportClause(node: ImportClause, isTypeOnly: boolean, name: Identifier | undefined, namedBindings: NamedImportBindings | undefined): ImportClause;
|
|
3577
3577
|
createAssertClause(elements: NodeArray<AssertEntry>, multiLine?: boolean): AssertClause;
|
|
3578
3578
|
updateAssertClause(node: AssertClause, elements: NodeArray<AssertEntry>, multiLine?: boolean): AssertClause;
|
|
3579
|
-
createAssertEntry(name: AssertionKey, value:
|
|
3580
|
-
updateAssertEntry(node: AssertEntry, name: AssertionKey, value:
|
|
3579
|
+
createAssertEntry(name: AssertionKey, value: Expression): AssertEntry;
|
|
3580
|
+
updateAssertEntry(node: AssertEntry, name: AssertionKey, value: Expression): AssertEntry;
|
|
3581
3581
|
createNamespaceImport(name: Identifier): NamespaceImport;
|
|
3582
3582
|
updateNamespaceImport(node: NamespaceImport, name: Identifier): NamespaceImport;
|
|
3583
3583
|
createNamespaceExport(name: Identifier): NamespaceExport;
|
|
@@ -6594,6 +6594,7 @@ declare namespace ts {
|
|
|
6594
6594
|
externalModuleName = "external module name",
|
|
6595
6595
|
/**
|
|
6596
6596
|
* <JsxTagName attribute1 attribute2={0} />
|
|
6597
|
+
* @deprecated
|
|
6597
6598
|
*/
|
|
6598
6599
|
jsxAttribute = "JSX attribute",
|
|
6599
6600
|
/** String literal */
|