Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit e725924

Browse files
authored
Merge pull request #114 from jrpelkonen/patch-1
Fixes #90 6
2 parents d116a17 + bd78ccf commit e725924

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

todomvc/js/todos.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,8 @@ class TodoView extends Backbone.View {
202202
input: JQuery;
203203

204204
constructor (options? ) {
205+
// A call to super() is needed to avoid TS17009.
206+
super();
205207
//... is a list tag.
206208
this.tagName = "li";
207209

@@ -373,4 +375,4 @@ class AppView extends Backbone.View {
373375
$(() => {
374376
// Finally, we kick things off by creating the **App**.
375377
new AppView();
376-
});
378+
});

0 commit comments

Comments
 (0)