Commit Graph
17397 Commits
Author SHA1 Message Date
ssatguru 918a4e841d Updated babylon.d.ts to 2.3 version 2016-02-03 16:54:12 -06: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
Brandon Furtwangler 9a579744d2 bluebird: fixed inference issue with try/attempt 2016-02-03 08:59:20 -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
Matt Wheatley 4e4929b0cd Definitions for the Service provided by angular-google-analytics
Current type definitions only provided for the AnalyticsProvider used
for configuring the service. This adds some of the common properties
of the service that can be injected in to controllers.
2016-02-03 12:42:44 +00: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
Andrew Watson 2bd5cfdae6 Updating
While trying to create a custom widget/plugin with dialog, I found the
definitions to be a little lacking, so I added the bits I needed....
Used with CKEditor 4.5.6
2016-02-03 13:05:36 +11: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
Stepan Mikhaylyuk a820bbdead minor fix 2016-02-01 22:54:50 +03:00
Stepan Mikhaylyuk 6618974624 added enhancer param for create store.
see [redux docs](http://rackt.org/redux/docs/api/createStore.html)
2016-02-01 22:28:32 +03:00
Erik Krogh Kristensen 5c5e202bce Leaflet: Wrong syntax. 2016-02-01 17:03:20 +01:00
Federico Caselli 9e2b6c0c0c Fixed copy paste typo 2016-02-01 16:51:40 +01:00
Federico Caselli a890055f72 Merge pull request #2 from DefinitelyTyped/master
Merge from upstream
2016-02-01 16:49:34 +01:00
Erik Krogh Kristensen 7c9e75f7c0 Not every class constructor inherits fields from the default ClassStatic. 2016-02-01 16:42:19 +01:00