Skip to content

Commit b1ad54b

Browse files
committed
Add type annotation
1 parent 4ae62c3 commit b1ad54b

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
@@ -8971,7 +8971,7 @@ namespace ts {
89718971
return undefined;
89728972
}
89738973

8974-
function getConstraintDeclaration(type: TypeParameter) {
8974+
function getConstraintDeclaration(type: TypeParameter): TypeNode | undefined {
89758975
return mapDefined(filter(type.symbol && type.symbol.declarations, isTypeParameterDeclaration), getEffectiveConstraintOfTypeParameter)[0];
89768976
}
89778977

0 commit comments

Comments
 (0)