getTypeFromObjectBindingPattern just returns Type again

This commit is contained in:
Nathan Shively-Sanders 2016-10-03 16:06:06 -07:00
parent 663ee44e62
commit 45af47a12f

View File

@ -3156,7 +3156,7 @@ namespace ts {
}
// Return the type implied by an object binding pattern
function getTypeFromObjectBindingPattern(pattern: ObjectBindingPattern, includePatternInType: boolean, reportErrors: boolean): ResolvedType {
function getTypeFromObjectBindingPattern(pattern: ObjectBindingPattern, includePatternInType: boolean, reportErrors: boolean): Type {
const members = createMap<Symbol>();
let hasComputedProperties = false;
forEach(pattern.elements, e => {