| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -202,6 +202,8 @@ class TodoView extends Backbone.View { | |||
| 202 | 202 | input: JQuery; | |
| 203 | 203 | ||
| 204 | 204 | constructor (options? ) { | |
| 205 | + // A call to super() is needed to avoid TS17009. | ||
| 206 | + super(); | ||
| 205 | 207 | //... is a list tag. | |
| 206 | 208 | this.tagName = "li"; | |
| 207 | 209 | ||
@@ -373,4 +375,4 @@ class AppView extends Backbone.View { | |||
| 373 | 375 | $(() => { | |
| 374 | 376 | // Finally, we kick things off by creating the **App**. | |
| 375 | 377 | new AppView(); | |
| 376 | - }); | ||
| 378 | + }); | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments