mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-18 07:29:16 -05:00
moved comment
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user