moved comment

This commit is contained in:
Arthur Ozga 2015-06-22 12:56:10 -07:00
parent d0924f43f0
commit 31b627a23a

View file

@ -4584,7 +4584,9 @@ namespace ts {
for (let targetProp of properties) {
let sourceProp = getPropertyOfType(source, targetProp.name);
if (sourceProp !== targetProp) { // sourceProp !== targetProp -- ie: source and target have distinct declarations with the same name
if (sourceProp !== targetProp) {
// sourceProp !== targetProp -- ie: source and target have distinct declarations with the same name
if (!sourceProp) {
if (!(targetProp.flags & SymbolFlags.Optional) || requireOptionalProperties) {
if (reportErrors) {