microsoft/TypeScriptSamples

todoMVC doesn't work fine when "super(options)" is moved to the first line

gadget2k opened this issue · 0 comments

Line# 205
constructor (options?) {
super(options);
//... is a list tag.
this.tagName = "li";

Though it's requested by new ts version that super should be the first element, it doesn't make sense when js is compiled. It just does't work. Backbone seems to need super call later. How to avoid this?