mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
The Backbone.Router class did not previously extend Events in the definition file. This caused the TypeScript compiler to raise an error when calling one of the Events methods (such as on()) on an instance of a router. This change allows instances of classes derived from Backbone.Router to call methods on the Events class that are inherited by the router. |
||
|---|---|---|
| .. | ||
| backbone-0.9.d.ts | ||
| backbone-tests.ts | ||