mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-09 02:30:15 -06:00
moved comment
This commit is contained in:
parent
d0924f43f0
commit
31b627a23a
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user