wrec 0.36.4 → 0.36.5

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/scripts/lint.js +1 -1
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "wrec",
3
3
  "description": "a library that greatly simplifies building web components",
4
4
  "author": "R. Mark Volkmann",
5
- "version": "0.36.4",
5
+ "version": "0.36.5",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
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(elementType, declaredType)
1717
+ ? checker.isTypeAssignableTo(declaredType, elementType)
1718
1718
  : false;
1719
1719
  }
1720
1720