mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Ensure checkParameterInitializer always gets called
This commit is contained in:
1 parent
4a86bc60a3
commit
b16594b239
1 file changed
+1
-1
@@ -21842,8 +21842,8 @@ namespace ts {
|
||||
}
|
||||
else {
|
||||
checkTypeAssignableTo(initializerType, getWidenedTypeForVariableLikeDeclaration(node), node, /*headMessage*/ undefined);
|
||||
checkParameterInitializer(node);
|
||||
}
|
||||
checkParameterInitializer(node);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user