Commit Graph

18728 Commits

Author SHA1 Message Date
Simon Huber
d9c630f39b Dropzone update (#8950)
* Update dropzone.d.ts to 4.3.0

* Update dropzone-commonjs-tests.ts

* Update dropzone-tests.ts

* Update dropzone.d.ts

* Update dropzone.d.ts

* Update dropzone-tests.ts

* Update dropzone-commonjs-tests.ts

* Update dropzone-tests.ts

* Update dropzone.d.ts

* Update dropzone.d.ts
2016-04-13 00:50:34 +09:00
CodeAnimal
19e22df5dd Stripe node 4.5.0 (#8907)
* Update Stripe library definitions to version 4.5.0.

And update to API version 2016-03-07.

Ideally more tests need to be added, but I've ran out of time to
implement all that is needed. The tests cover just enough for now,
although they are by no means thorough.

* Fix CI test errors

* Add correct header options

Add correct header options to method definitions.

As I understand it, all methods have the ability to have header options,
and they should always appear after any data options, see:

https://github.com/stripe/stripe-node/blob/master/lib/StripeMethod.js#L61
https://stripe.com/docs/connect/authentication

Tests still need to be added.

* Rename account to accounts

And fix other small bugs:
- L4626: Fix duplicate arg name
- L4999: Add missing method definition

* Rename CustomerSubscription Methods

Rename some CustomerSubscription methods that were named incorrectly.

* Define chargeObj.refunds methods

Add ChargeRefunds methods to ICharge interface and add resource class.

https://github.com/stripe/stripe-node/blob/master/lib/resources/ChargeRefunds.js

* Add verifySource placeholder methods

Add verifySource placeholder method to the Customer resource class. This
needs to be properly implemented later.

Also update InvoiceLineItem.type property to be a string literal type.

* Test clean up

Clean up the tests and add a few missing tests. All current tests now
also test for Promise method returns.

Still a lot of missing tests, but it's better than before.
2016-04-13 00:50:15 +09:00
Yaroslav
7e656a65e7 Update react-intl locale data location (#8945) 2016-04-13 00:50:00 +09:00
webbiesdk
88736ffa1d Backbone: History.getFragment, the implementation doesn't have any mention of a second argument (#8949) 2016-04-13 00:48:30 +09:00
cronon
2e81827c9e Add documentation for cookie-js (#8836) 2016-04-13 00:47:10 +09:00
Sean Kelley
b9642fb8ac Allow specifying void for component state type parameter. (#8673)
* Allow specifying `void` for component state type parameter.

Per comments on https://github.com/DefinitelyTyped/DefinitelyTyped/pull/8543,
the type parameter for component state was changed to `{}` from `any` for
increased type safety, but prevents specifying (non-functional) stateless
components without having empty state parameters, which seems messy. This
changes the type to `{} | void` to allow this while staying stricter than
`any`.

* Make react tests a bit more strict.

* Rename State -> ComponentState to make it a bit more explicit.
2016-04-13 00:40:40 +09:00
Leo Caseiro
151dc309c9 Update angular-material.d.ts (#8896)
Add IColorPalette for [$mdColorPalette](https://github.com/angular/material/blob/master/src/core/services/theming/theme.palette.js)
2016-04-13 00:40:03 +09:00
henriquefm
491ca65466 Update gapi.d.ts (#8944)
Adding the optional url param to gapi.client.load
2016-04-13 00:38:22 +09:00
Eugene Cheung
cb2536e1af Fix function definitions in flowjs.d.ts (#8942)
* Fix function definitions in flowjs.d.ts

* Update flowjs-tests.ts
2016-04-13 00:37:44 +09:00
Jason Killian
c00b5a1d9e Fix dom4 typings so they work with latest nightlies of TS (#8943)
The deleted members are defined in lib.d.ts's ElementTraversal interface
and thus don't need to be defined in here.
2016-04-13 00:37:30 +09:00
Andrzej Skrodzki
8d0cdb374d Update avaiable hooks. (#8909)
Apply comments.

Minor changes.
2016-04-13 00:35:06 +09:00
doxiaodong
2bb5e51050 add js-md5 export (#8940)
add js-md5 export
2016-04-13 00:34:44 +09:00
Paul Thiel
a9d3849f88 feat(): add type definition for cordova-plugin-background-mode (#8936)
fix(): space out the comment text from commenting slash
2016-04-13 00:31:04 +09:00
Piotr Laszczkowski
ac71dd02de Add type definitions for Handsontable (#8934) 2016-04-13 00:30:16 +09:00
Stefan Huber
da919fe791 qrcode-generator added (#8932) 2016-04-13 00:21:59 +09:00
Marcus David Bronstein
b572283659 adding microgears definitions (#8930) 2016-04-13 00:20:20 +09:00
Linda_pp
d890dbd5f3 Add type definitions for 'twitter-text' module (#8928)
* Add type definitions for 'twitter-text' module

* Add tests for twitter-text.d.ts

* Add user defined type guard for entities to tests

* Add a missing file reference to test file
2016-04-13 00:17:13 +09:00
Yosuke Kurami
98b3d3dc0a Create Falcor definitions (#8882)
* Create Falcor definitions

* Rename some interfaces(Upper camel)
2016-04-13 00:15:57 +09:00
Milan Burda
5387ccca33 github-electron update (#8922)
* Update URLs to new location: https://github.com/electron/electron/blob/master/docs

* Fix CrashReporter interface

* Fix isMainFrame type in WebViewElement.LoadCommitEvent

* Update menu-item documentation

* Fix ContentTracing interface
2016-04-13 00:04:07 +09:00
Linda_pp
29db5e426c Add rebass (#8925)
* Add type definitions for 'rebass' module

https://github.com/jxnblk/rebass

* Add tests for rebass.d.ts
2016-04-13 00:03:52 +09:00
Jan Žák
f5b469b012 Update http-status to 0.2.1 (#8920) 2016-04-12 23:22:23 +09:00
Ken Howard
e684481e0c Return typed definition from toJSON method (#8859)
* Return typed definition from toJSON method

* Test toJSON returns IMyResource
2016-04-12 23:22:09 +09:00
Kevin Visscher
22d18908f7 Add option that can be set for CircleMarker (#8912) 2016-04-12 23:21:16 +09:00
trevj
484e00f72f Node.js Buffer should be useable as a Uint8Array and is missing a constructor (#8919)
* make NodeBuffer extend Uint8Array

* add missing Buffer(ArrayBuffer) constructor

* add TODOs for missing Buffer methods
2016-04-12 23:20:33 +09:00
Isman Usoh
94ce78cb01 declare namespace ExpressUseragent (#8918)
* declare namespace ExpressUseragent

- declare namespace ExpressUseragent
- fix error Import declaration conflicts with local declaration of 'express'

* Update express-useragent.d.ts

* Update express-useragent.d.ts
2016-04-12 23:17:59 +09:00
Valentin Robert
85701ac79c RxJS: resultSelector is optional in combineLatest (#8917) 2016-04-12 23:17:06 +09:00
Alexander Surinov
b6e28f381b Update definition of Flatten method in chain. (#8901) 2016-04-12 23:14:59 +09:00
szmeti
10d69f9da6 Missing loglevel public API methods added (#8914) 2016-04-12 23:14:02 +09:00
Kevin Visscher
c02da04ba0 Allow import statement from Typescript (#8911) 2016-04-12 23:10:28 +09:00
Giedrius Grabauskas
abe95c4057 Added Filesize definitions (#8908)
* filesize definition file added.

* Updated filesize definition.

* Added SiJedec type to suffixes

* Created filesize tests file.

* Added definition file reference in tests.
2016-04-12 23:04:48 +09:00
Dawid Krajewski
92b2c03c29 add declare module "nouislider" (#8905) 2016-04-12 23:01:10 +09:00
Michael Zlatkovsky
4841fd3b36 Fixing a few API set annotations in Office-js.d.ts (#8892)
Fixed api set annotations on half-a-dozen methods that were erroneously labeled as 1.1, whereas they really belong the the 1.2 set.
2016-04-12 22:59:16 +09:00
M Clark
c128c346bb Added react-tagcloud (#8899) 2016-04-12 22:56:02 +09:00
Valentin Robert
abccfd4309 partition's thisArg should be optional (#8895) 2016-04-12 22:54:32 +09:00
mmmichl
bf263437d0 Introduce unfoundState type from $stateNotFound event (#8894) 2016-04-12 22:47:57 +09:00
Vitor Buzinaro
7612f0e546 Updated node-mssql to v3.2.1 (#8893)
* Updated node-mssql to v3.2.1

According to https://github.com/patriksimek/node-mssql#2x-to-3x-changes, updated the definitions.

* Update mssql.d.ts

* Update mssql.d.ts
2016-04-12 22:45:59 +09:00
mmmichl
5c182b9af7 Introduce done function declaration with fail method (#8891) 2016-04-12 22:44:38 +09:00
Xavier Stouder
883f016ef7 Create html-entities definitions file (#8890)
* Create html-entities definitions file

* Fix Travis test
2016-04-12 22:43:57 +09:00
Anthony Ciccarello
0ea6c46516 Add ControllerService to angular-mocks (#8889)
* Add ControllerService to angular-mocks

The definition in angular.d.ts changed that used to included this definition.
Needed because of 69d2fb9

* Added unit tests for controller service mock
2016-04-12 22:42:42 +09:00
Chris Charabaruk
3e03f67efe Created definitions for promise-pg (#8888)
* Created definitions for promise-pg

Dependencies:
* node
* Q
* pg

Tests script is cribbed from pg typings and modified for promise-pg.

'promise-pg'.Client does not inherit from 'pg'.Client because the
functions redefined to return promises completely replace the originals
from 'pg'.

* fix: QueryConfig.buffer is optional

It's only needed when doing a SELECT anyway, so mark it optional.

* Bring promise-pg tests in line with examples from promise-pg readme

* Add the promise-pg readme examples as tests
2016-04-12 22:40:51 +09:00
Romke van der Meulen
99e58db462 mark Response.error() and Response.redirect() as static (#8887)
Fixes #7777
2016-04-12 22:36:44 +09:00
York Yao
42da513c25 Try to provide a new definition for ioredis (#8910)
* Create ioredis.d.ts

* Create ioredis-tests.ts

* Update ioredis.d.ts

* Update ioredis-tests.ts

* expose interfaces as type
2016-04-12 22:33:14 +09:00
Pekka Leppänen
fa3294c560 Enable type checking for constant and value (#8885)
Using a generic type one can type check the `constant` or `value` in angular.module.
2016-04-12 22:32:17 +09:00
Michael McKenzie
be1056420e Methods were missing on kendo.Observable (#8883) 2016-04-12 22:14:06 +09:00
ArtemZag
5ef5579fae Updated material-ui.d.ts (#8881)
Added DOMAttributes to FlatButton and Dialog properties.
2016-04-12 22:05:00 +09:00
Tsvetomir Tsonev
f82347d1cb Update Kendo UI TypeScript Definitions (#8879) 2016-04-12 22:00:40 +09:00
Shinya Terasaki
f5407eba29 typo at TextGeometryParameters (#8874) 2016-04-12 21:55:27 +09:00
Matthias
38d211956d Add toDate() sanitizer (#8871) 2016-04-12 21:52:33 +09:00
Alex Friedman
d3407b5a41 Added definition files for koa-json (#8873) 2016-04-12 21:52:08 +09:00
Felipe Lima
73fa26213a Firebase: Generic Github, Twitter and Facebook authentication providers (#8870)
* Firebase: Generic Github, Twitter and Facebook authentication providers

* Firebase: Authentication definitions for Email and Password, Twitter, Github, Facebook and Anonymous
2016-04-12 21:51:05 +09:00