mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-08 16:40:30 +08:00
b9e995eb9b93ee6933835d5555173ba185acb303
ICollectionPromise<T> extends ng.IPromise<T> is the equivalent of
interface IPromise<T> extends ng.IPromise<T> for arrays of T. Therefore
it makes no sense to extend ng.IPromise with just T. Instead it has to
be an array of T.
The consequence of this bug can be observed when calling
Restangular.all('someEntity').getList<SomeEntity>().then((entities) =>
{...})
In this case the TypeScript compiler handles entities as SomeEntity, not
SomeEntity[].
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%