mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Lint:document parameter name
This commit is contained in:
1 parent
6ccf9bce8f
commit
184835b5cd
1 file changed
+1
-1
@@ -9338,7 +9338,7 @@ namespace ts {
|
||||
}
|
||||
if (discriminant) {
|
||||
// check excess properties against discriminant type only, not the entire union
|
||||
return hasExcessProperties(source, discriminant, undefined, reportErrors);
|
||||
return hasExcessProperties(source, discriminant, /*discriminant*/ undefined, reportErrors);
|
||||
}
|
||||
for (const prop of getPropertiesOfObjectType(source)) {
|
||||
if (!isKnownProperty(target, prop.escapedName, isComparingJsxAttributes)) {
|
||||
|
||||
Reference in new issue
Block a user