Skip to content

Instantly share code, notes, and snippets.

@Colmea
Created January 16, 2016 17:23
Show Gist options
  • Save Colmea/dc428d1124a429c847a1 to your computer and use it in GitHub Desktop.
Save Colmea/dc428d1124a429c847a1 to your computer and use it in GitHub Desktop.
TypeError: _super.call is not a function(…)
import GUIElement = require('./GUIElement');
class GUILayout extends GUIElement implements IGUILayout {
// Public members
public panels: Array<GUIPanel> = new Array<GUIPanel>();
/**
* Constructor
* @param name layout name
* @param app App instance
*/
constructor(name: string, app: App) {
super(name, app);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment