Commit Graph
17095 Commits
Author SHA1 Message Date
Frank Laub ae60c84b92 Add definitions for react-bootstrap-table 2016-02-04 07:58:49 -08:00
Frank Laub f318fbd331 Add definitions for react-fa 2016-02-04 07:43:04 -08:00
Maciej Kucharski 4d5f70f153 updated and fixed failing meteor tests 2016-02-04 16:01:06 +01:00
Maciej Kucharski 794ad5905b Meteor.Error constructor can be also called with (number, string?, string?)
see: http://docs.meteor.com/\#/full/meteor_error
Even though  property is specified as  example right below shows usage with a number instead.
2016-02-04 16:00:23 +01:00
Jarno Välkki 94095ef4ee modified IDeferred resolve method to allow passing a promise of type T so a deferred can be resolved with a promise 2016-02-04 16:01:35 +02:00
Theo 8b566aaea0 Forgot new in creating the Virtual DataType 2016-02-04 09:40:28 +00:00
Theo 509d82f8de Add tests for VIRTUAL DataType 2016-02-04 09:38:04 +00:00
Leo Liang f743b7f495 express.d.ts: define next() function type 2016-02-04 14:26:46 +08:00
Levi Baker 8896a9d6ac Merge remote-tracking branch 'refs/remotes/DefinitelyTyped/master' 2016-02-03 17:06:32 -08:00
Levi Baker e5d253e250 Added missing events to router config.
RouterOptions was missing three events.
2016-02-03 17:06:14 -08:00
CaselIT a80a024f79 Changed internal types from class to interface
Thanks to  @pfzero
https://github.com/DefinitelyTyped/DefinitelyTyped/issues/7021#issuecomment-179439322
2016-02-03 21:50:31 +01:00
Sean Kelley 830e8ebd9e Rename the type variable for es6-promise from R to T to match lib.d.ts.
This fixes an issue where two definitions for Promise that /should/ agree
(i.e., be assignable to one another) aren't, and instead the immensely
confusing error message:

    error TS2314: Generic type 'Promise<T, R>' requires 2 type argument(s).

Even though all the present definitions are paramaterized with a single type
variable, Typescript appears to assume that the two different names are
referring to two different types and therefore you must supply both. Here I
changed it to T from R so that it matches lib.d.ts.

For reference, this error occured for me specifically when I had both
es6-promise and bluebird typings present. bluebird uses T already.
2016-02-03 12:41:35 -08:00
Sumit Kumar Maitra 42fc7de90b Updated type definition with constructor interface, updated tests and cleaned up definition as required.
Ref: Issue #7943
2016-02-03 19:36:11 +00:00
Daniel Rosenwasser 132599cf88 Added a few relevant tests. 2016-02-03 11:28:27 -08:00
Daniel Rosenwasser 290a1d7ee6 Restored optionality. 2016-02-03 11:20:20 -08:00
Daniel Rosenwasser 0a82642ce7 Replaced some overloads with simple union types. 2016-02-03 11:06:10 -08:00
Ilya Mochalov d485633bf2 lodash: changed _.some 2016-02-03 20:19:57 +05:00
Ilya Mochalov 3d52090ef7 lodash: changed _.every 2016-02-03 20:17:22 +05:00
hinamiyagk 72d95b38f0 Add jsonObject parameter to callback and make callback required 2016-02-03 22:47:24 +09:00
Amaury Bauzac b5dda320c0 Wrapped interface into a module
Changes due to a refused PR
2016-02-03 12:52:14 +01:00
Theo d1777f15c4 Comment for VirtualDataType 2016-02-03 11:45:16 +00:00
Theo 7109dbc7b6 Add constructor for Virtual DataType 2016-02-03 11:27:51 +00:00
prespic 1c783c8574 goToPage instead of scrollToPage
Acording to documentation http://iscrolljs.com/#snap
2016-02-03 10:31:03 +01:00
Long Zheng 2ea30ab68d Updated stripe.d.ts
Stripe allows ```createToken``` at the card object
2016-02-03 12:04:06 +11:00
Sean Kelley 408129b405 pure-render-decorator correction: it doesn't export a default, it IS the export. 2016-02-02 14:37:39 -08:00
Sean Kelley bf7bedd4f1 Add typings for pure-render-decorator 0.2.0. 2016-02-02 10:33:56 -08:00
romiem c6ab786741 Update angular.d.ts
If splitting the config into seperate files, this constructor overload is useful. For example, you might need a RoutesConfig.ts file.

#### Example

##### RoutesConfig.ts
```
export class RoutesConfig {

    static $inject = ['$stateProvider', '$urlRouterProvider', '$locationProvider'];
    
    constructor (private $stateProvider: angular.ui.IStateProvider, private $urlRouterProvider: angular.ui.IUrlRouterProvider, private $locationProvider: ng.ILocationProvider) {
        
        // Unmatched URLs, redirect to root
        $urlRouterProvider.otherwise('/block');
        
        $stateProvider
            .state('home', {
                url: '/',
                template: '<route-home></route-home>'
            });
         
        $locationProvider.html5Mode(true);        
    }
}
```

##### Main.ts
```
import {RoutesConfig} from './common/RoutesConfig';
angular.module('myApp', [])
    .config(RoutesConfig)
```
2016-02-02 16:22:59 +00:00
Igor Kriklivetc fc6d5aca41 Update to 15.2.5 2016-02-02 18:46:02 +03:00
Andrey 902571a262 updated module with ClassicComponentClass 2016-02-02 16:33:55 +01:00
Andrey 89ce6d4f49 updated module with ClassicComponentClass 2016-02-02 16:22:50 +01:00
Masahiro Wakame e69fe60f2d Merge pull request #7893 from chrootsu/lodash-string-funcs
lodash: updated string functions
2016-02-03 00:15:33 +09:00
Masahiro Wakame 0ff9bbf2b4 Merge pull request #7892 from sventschui/patch-1
add empty namespace declaration for chai-as-promised to allow es6 imports
2016-02-03 00:15:18 +09:00
Masahiro Wakame 8d8d78e3d5 Merge pull request #7885 from isman-usoh/react-router-2.0.0-rc5-patch-1
Rename RoutingContext -> RouterContext
2016-02-03 00:05:21 +09:00
Masahiro Wakame 55aa2d0200 Merge pull request #7883 from chrootsu/lodash-differenceBy
lodash: _.differenceBy changed
2016-02-03 00:02:28 +09:00
Masahiro Wakame 80ebf148e1 Merge pull request #6903 from SammyG4Free/master
Type Definitions for DataTables Buttons extension.
2016-02-03 00:01:47 +09:00
Masahiro Wakame 8960370289 Merge pull request #7876 from GeniousG/master
RTCPeerConnection.d.ts & MediaStream.d.ts improvements
2016-02-02 23:55:32 +09:00
Masahiro Wakame 87d140ac71 Merge pull request #7869 from applesaucers/master
Lodash: _.invokeMap more robust & consistent with _.method/_.methodOf
2016-02-02 23:50:22 +09:00
Masahiro Wakame 4284180a26 Merge pull request #7863 from ServiceStack/master
Add ss-utils
2016-02-02 23:50:01 +09:00
Masahiro Wakame a7f7242504 Merge pull request #7870 from homesar/master
Adding auth0-angular.d.ts
2016-02-02 23:49:20 +09:00
sclausen 1ff6156a58 added contributor 2016-02-02 09:35:55 +01:00
sclausen 21466fa7c4 fixed wrong header format 2016-02-02 09:34:51 +01:00
sclausen c7a3689e14 fixed wrong header format 2016-02-02 09:32:41 +01:00
sclausen b6d3f21113 fixed wrong argument usage in test 2016-02-02 09:30:05 +01:00
sclausen e5059193ce fixed wrong argument type of Schema.create 2016-02-02 09:27:04 +01:00
Horiuchi_H c2939250ec Merge pull request #7907 from newclear/callsite
add type define for callsite(https://github.com/tj/callsite)
2016-02-02 15:34:34 +09:00
Horiuchi_H e5b1185867 Merge pull request #7901 from daggilli/patch-1
Add support for 'SCRIPT' command
2016-02-02 14:41:23 +09:00
Jared Klopper cdf27e4034 Fix up definition and use inference in tests where possible 2016-02-02 13:12:02 +13:00
RX14 0c825d7d55 Update to winreg 0.0.16 2016-02-01 20:41:41 +00:00
Jared Klopper fa66ca5821 Correct naming 2016-02-02 09:03:41 +13:00
Jared Klopper 0a57e7a1c2 Add template interceptor type definition 2016-02-02 08:57:03 +13:00