fix(checker): invert property subtype check

This commit is contained in:
2026-06-07 14:00:02 +02:00
parent 3e0dc60283
commit 59e73f0fd9

View File

@@ -205,7 +205,7 @@ class Checker(
for k, t in props2.items():
if k not in props1:
return False
if self.is_subtype(props1[k], t):
if not self.is_subtype(props1[k], t):
return False
return True