Skip to content

Commit 45af47a

Browse files
committed
getTypeFromObjectBindingPattern just returns Type again
1 parent 663ee44 commit 45af47a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/checker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3156,7 +3156,7 @@ namespace ts {
31563156
}
31573157

31583158
// Return the type implied by an object binding pattern
3159-
function getTypeFromObjectBindingPattern(pattern: ObjectBindingPattern, includePatternInType: boolean, reportErrors: boolean): ResolvedType {
3159+
function getTypeFromObjectBindingPattern(pattern: ObjectBindingPattern, includePatternInType: boolean, reportErrors: boolean): Type {
31603160
const members = createMap<Symbol>();
31613161
let hasComputedProperties = false;
31623162
forEach(pattern.elements, e => {

0 commit comments

Comments
 (0)