typescript 4.6.0-dev.20211115 → 4.6.0-dev.20211119
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/tsc.js +54 -46
- package/lib/tsserver.js +197 -140
- package/lib/tsserverlibrary.d.ts +3 -3
- package/lib/tsserverlibrary.js +197 -140
- package/lib/typescript.d.ts +3 -3
- package/lib/typescript.js +193 -136
- package/lib/typescriptServices.d.ts +3 -3
- package/lib/typescriptServices.js +193 -136
- package/lib/typingsInstaller.js +64 -68
- package/package.json +1 -1
package/lib/tsserverlibrary.d.ts
CHANGED
|
@@ -897,7 +897,7 @@ declare namespace ts {
|
|
|
897
897
|
export interface TypePredicateNode extends TypeNode {
|
|
898
898
|
readonly kind: SyntaxKind.TypePredicate;
|
|
899
899
|
readonly parent: SignatureDeclaration | JSDocTypeExpression;
|
|
900
|
-
readonly assertsModifier?:
|
|
900
|
+
readonly assertsModifier?: AssertsKeyword;
|
|
901
901
|
readonly parameterName: Identifier | ThisTypeNode;
|
|
902
902
|
readonly type?: TypeNode;
|
|
903
903
|
}
|
|
@@ -968,7 +968,7 @@ declare namespace ts {
|
|
|
968
968
|
}
|
|
969
969
|
export interface MappedTypeNode extends TypeNode, Declaration {
|
|
970
970
|
readonly kind: SyntaxKind.MappedType;
|
|
971
|
-
readonly readonlyToken?:
|
|
971
|
+
readonly readonlyToken?: ReadonlyKeyword | PlusToken | MinusToken;
|
|
972
972
|
readonly typeParameter: TypeParameterDeclaration;
|
|
973
973
|
readonly nameType?: TypeNode;
|
|
974
974
|
readonly questionToken?: QuestionToken | PlusToken | MinusToken;
|
|
@@ -1465,7 +1465,7 @@ declare namespace ts {
|
|
|
1465
1465
|
}
|
|
1466
1466
|
export interface ForOfStatement extends IterationStatement {
|
|
1467
1467
|
readonly kind: SyntaxKind.ForOfStatement;
|
|
1468
|
-
readonly awaitModifier?:
|
|
1468
|
+
readonly awaitModifier?: AwaitKeyword;
|
|
1469
1469
|
readonly initializer: ForInitializer;
|
|
1470
1470
|
readonly expression: Expression;
|
|
1471
1471
|
}
|