File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23026,7 +23026,7 @@ namespace ts {
23026
23026
else {
23027
23027
for (let i = 0; i < sources.length; i++) {
23028
23028
const saveInferencePriority = inferencePriority;
23029
- inferencePriority = InferencePriority.MaxValue;
23029
+ inferencePriority = InferencePriority.MaxValue as InferencePriority ;
23030
23030
inferFromTypes(sources[i], t);
23031
23031
if (inferencePriority === priority) matched[i] = true;
23032
23032
inferenceCircularity = inferenceCircularity || inferencePriority === InferencePriority.Circularity;
@@ -34971,7 +34971,7 @@ namespace ts {
34971
34971
}
34972
34972
34973
34973
function checkExpressionCached(node: Expression | QualifiedName, checkMode?: CheckMode): Type {
34974
- if (checkMode && checkMode !== CheckMode.Normal ) {
34974
+ if (checkMode) {
34975
34975
return checkExpression(node, checkMode);
34976
34976
}
34977
34977
const links = getNodeLinks(node);
Original file line number Diff line number Diff line change @@ -3922,8 +3922,8 @@ namespace ts {
3922
3922
// is distinguished from a regular type by a flags value of zero. Incomplete type
3923
3923
// objects are internal to the getFlowTypeOfReference function and never escape it.
3924
3924
export interface IncompleteType {
3925
- flags : TypeFlags ; // No flags set
3926
- type : Type ; // The type marked incomplete
3925
+ flags : TypeFlags | 0 ; // No flags set
3926
+ type : Type ; // The type marked incomplete
3927
3927
}
3928
3928
3929
3929
export interface AmdDependency {
You can’t perform that action at this time.
0 commit comments