Commit Graph
20 Commits
Author SHA1 Message Date
Armando AguirreandGitHub 0b009f4e60 Merge pull request #21666 from luckysoni/pr/backbone-history-route-add-param-type
Backbone.History.route may accept string or RegExp as first argument
2017-12-01 14:22:30 -08:00
Lucky Soni 2be9ad506f Backbone.History.route may accept string or RegExp as first argument 2017-11-21 08:03:32 +05:30
mnlegendandGitHub e4fd38e983 Update Backbone.sync to use a union
Updating file to use union to better follow the typescript Do's and Don'ts under the 'Use Union Types' section found in the link below.
https://www.typescriptlang.org/docs/handbook/declaration-files/do-s-and-don-ts.html

This will help prevent issues where a line of code such as 'let proxiedSync = Backbone.sync;' will use the wrong sync function.
2017-11-15 10:31:15 -08:00
Nathan Shively-SandersandGitHub 9ca2957b89 Merge pull request #20612 from Spinarooni/issue-#18593
Issue #18593.  Various fixes for Backbone.
2017-11-14 10:08:45 -08:00
Daniel RosenwasserandGitHub 1a051f0000 Merge pull request #21414 from ianfp/backbone-collection-clone
add Backbone.Collection.clone()
2017-11-11 01:06:17 -08:00
Ian Phillips 21d091f2d8 Change return type of Backbone.Collection.clone() to "this" 2017-11-10 14:23:33 -08:00
Ian Phillips 774fe888b6 Add a test for Backbone.Collection.clone() 2017-11-10 13:23:34 -08:00
AndyandGitHub 19f89399e4 Ensure every package has a tslint.json (#21009)
* Ensure every package has a tslint.json

* Fixes
2017-10-25 11:13:50 -07:00
Randy Patterson JrandAndy f91a1fa80d Set more specific types for Backbone Model and Collection url properties. (#20568) 2017-10-23 08:01:36 -07:00
Randy Patterson Jr cbb468143e Allow sort option for Backbone Collection.add and push. Issue #18593. 2017-10-16 10:44:21 -04:00
Randy Patterson Jr 85fdbd170e Allow sync to accept a collection as it's second argument. 2017-10-16 10:36:10 -04:00
Randy Patterson Jr c30aa15761 Make Collection.slice method
min parameter optional to match documentation.  Issue #18593.
2017-10-16 09:31:50 -04:00
Randy Patterson Jr ad69281f23 Add correct options for Collection.set method. Issue #18593. 2017-10-16 09:14:16 -04:00
AndyandGitHub 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Nathan Shively-Sanders b8ea87c68e Strict function variance fixes round 1 2017-10-02 15:50:34 -07:00
ashwinrandGitHub eda85a39de change visibility specifier for extend
Fixes https://github.com/DefinitelyTyped/DefinitelyTyped/issues/6922
2017-08-21 17:56:39 -04:00
AndyandGitHub 924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
Ian Phillips ed76f54ebd Add Backbone.Collection.clone()
http://backbonejs.org/#Collection-clone
2017-06-20 09:58:18 -07:00
Leonard Thieu 1c3565933c :( 2017-06-13 13:00:42 -04:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00