VM54310:600 Uncaught TypeError: _XXXXX2.default is not a constructor

Problem

VM54310:600 Uncaught TypeError: _XXXXX2.default is not a constructor

Solution

need to export default class e.g.:

export default class StateController { ...

 

 

 

 

keywords: typescript VM54310:600 Uncaught TypeError: _XXXXX2.default is not a constructor ts js webpack

 

 

About Neil Rubens

see http://ActiveIntelligence.org

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*