@colyseus/schema 3.0.0-alpha.45 → 3.0.0-alpha.47

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.
@@ -659,7 +659,7 @@ class TypeContext {
659
659
  }
660
660
  // add classes inherited from this base class
661
661
  TypeContext.inheritedTypes.get(klass)?.forEach((child) => {
662
- this.discoverTypes(child, klass, parentIndex, parentHasViewTag);
662
+ this.discoverTypes(child, parentType, parentIndex, parentHasViewTag);
663
663
  });
664
664
  // add parent classes
665
665
  let parent = klass;