Uncaught TypeError: Super expression must either be null or a function when create child class in parent

You cannot import child class in parent class file, because import will lead class declaring, but both have not declared yet.

You need to take getComposite out from Unit to a separate file.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top