mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-27 11:40:08 +08:00
ea103215ea8fa2493325a1b8d2327f47e6a9d6de
The following syntax is supported in Backbone, but is currently not compileable in Typescript:
var data = [
{ id: 1, bar: 'foo' },
{ id: 2, bar: 'baz' }
];
var myCollection = new Backbone.Collection(data);
As of now, the constructor expects an array of models. I've added the Object[] parameter type, in addition to the TModel[] type to support this syntax.
Add TypeScript definitions and tests for Bootstrap TouchSpin (http://www.virtuosoft.eu/code/bootstrap-touchspin/)
cheerio: fixed format of header as suggested by Bartvds - https://github.com/borisyankov/DefinitelyTyped/pull/2588
DefinitelyTyped 
The repository for high quality TypeScript type definitions.
For more information see the definitelytyped.org website.
Usage
Include a line like this:
/// <reference path="jquery.d.ts" />
Contributions
DefinitelyTyped only works because of contributions by users like you!
Please see the contribution guide on how to contribute to DefinitelyTyped.
How to get the definitions
- Directly from the Github repos
- NuGet packages
- TypeScript Definition manager
List of definitions
- See CONTRIBUTORS.md
Requested definitions
Here is are the currently requested definitions.
Licence
This project is licensed under the MIT license.
Copyrights on the definition files are respective of each contributor listed at the beginning of each definition file.
Languages
TypeScript
100%