Fix linting errors

This commit is contained in:
Anders Hejlsberg
2017-05-22 16:48:57 -07:00
parent 0b37adc3a7
commit 501d92a049

View File

@@ -10159,8 +10159,8 @@ namespace ts {
callNode: context.callNode,
signature: context.signature,
inferences: map(context.inferences, cloneInferenceInfo),
flags: context.flags | InferenceFlags.NoDefault,
}
flags: context.flags | InferenceFlags.NoDefault
};
}
function cloneInferenceInfo(inference: InferenceInfo): InferenceInfo {
@@ -10617,7 +10617,7 @@ namespace ts {
}
function getInferredTypes(context: InferenceContext): Type[] {
let result = [];
const result: Type[] = [];
for (let i = 0; i < context.inferences.length; i++) {
result.push(getInferredType(context, i));
}