wrec 0.36.4 → 0.36.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/scripts/lint.js +1 -1
package/package.json
CHANGED
package/scripts/lint.js
CHANGED
|
@@ -1714,7 +1714,7 @@ function typeExpressionMatchesDeclaredType(
|
|
|
1714
1714
|
if (typeKind === 'HTMLElement') {
|
|
1715
1715
|
const elementType = getConstructedType(checker, typeExpression);
|
|
1716
1716
|
return elementType
|
|
1717
|
-
? checker.isTypeAssignableTo(
|
|
1717
|
+
? checker.isTypeAssignableTo(declaredType, elementType)
|
|
1718
1718
|
: false;
|
|
1719
1719
|
}
|
|
1720
1720
|
|