Commit Graph

18750 Commits

Author SHA1 Message Date
Roger Chen
2543e90c09 Fix definition for optionRenderer in react-select (#8957) 2016-04-17 23:48:38 +09:00
Florent POUJOL
bc9b3d9c80 Update to THREE.js r75 (+1 squashed commits) (#8825)
Squashed commits:

[22b2161] Update definitions to THREE.js r75.
2016-04-17 23:17:54 +09:00
Dennis
bfc96c0e34 Missing locale functions and types (#8981)
* added svgRendering property to Html2CanvasOptions interface

* added an empty namespace in koa-bodyparser.d.ts (#8979)

Without this, there will be `Module '"koa-bodyparser"' resolves to a non-module entity and cannot be imported using this construct. (2497)` error
This solution is found (here)[https://github.com/Microsoft/TypeScript/issues/5073].
koa-json's `.d.ts` file has such namespace.

* Missing locale functions and types
2016-04-17 23:13:33 +09:00
Masahiro Wakame
e4ddeda801 remove pg-promise definitions refs #8956 (#8987) 2016-04-17 23:12:55 +09:00
kodeo
3a6d393254 Add live and parent options (#8976) 2016-04-17 22:51:20 +09:00
Dasa Paddock
122b5dd8d1 Add support for loading using moment/moment (#8975) 2016-04-17 22:50:35 +09:00
François Guillot
f9b6faf87c Add missing property className. (#8965) 2016-04-17 22:41:18 +09:00
Linda_pp
cf9955fe1c new definitions: 'encoding-japanese' module (#8974)
Project: https://github.com/polygonplanet/encoding.js
2016-04-17 22:35:00 +09:00
Abhishek Garg
8363db45d1 Mark param as optional (#8968)
Mark param `types` as optional in method `registerDataChangeCallback` for `IGridOptions<TEntity>`
2016-04-17 22:14:31 +09:00
Abhishek Garg
3948c8646d Add missing param for rowIdentity (#8966)
Add missing param `row` for function `rowIdentity` in `IGridOptionsOf<TEntity>`
2016-04-17 22:11:40 +09:00
jugglingthebits
de8e80dfe5 Allow SVGElement as the first param for the constructor function. (#8789) 2016-04-17 22:08:28 +09:00
Giedrius Grabauskas
0032c9b7e5 Added Latinize definitions (#8904)
* latinize.d.ts file created.

* Updated creator link.

* latinize tests created.

* Missing semicolon added.

* Added latinize version.

* Updated naming.
2016-04-17 22:06:19 +09:00
webbiesdk
05c8612890 PathJS: Spelling mistake (#8964) 2016-04-17 22:05:59 +09:00
João Monteiro
bff89b9721 normalised interfaces names (module contains local and session storag… (#8808)
* normalised interfaces names (module contains local and session storage); fixed  definition (argument is optional)

* fixed name typo in test
2016-04-17 22:04:04 +09:00
Horiuchi_H
94d8775a94 added svgRendering property to Html2CanvasOptions interface (#8990) 2016-04-14 23:16:41 +09:00
M Clark
1239b5a12b Bugfix in ReactSelect.Async definitions (#8898)
* Bugfix in ReactSelect.Async definitions

* Extended defined props
2016-04-14 21:48:40 +09:00
Philipp
8c9d2af6b3 Add 'jsx-chai' module (#8958)
* Add 'jsx-chai' module

* Add 'radium' module
2016-04-14 21:44:59 +09:00
Paul Welter
d63ae9035b Googlemaps label (#8972)
* Add typings for redux-debounced.

* add SFTP type in `ssh2`

* New options have been added

* 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

* Added definition files for koa-json (#8873)

* Add toDate() sanitizer (#8871)

* typo at TextGeometryParameters (#8874)

* Update Kendo UI TypeScript Definitions (#8879)

* Updated material-ui.d.ts (#8881)

Added DOMAttributes to FlatButton and Dialog properties.

* Methods were missing on kendo.Observable (#8883)

* Enable type checking for constant and value (#8885)

Using a generic type one can type check the `constant` or `value` in angular.module.

* 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

* mark Response.error() and Response.redirect() as static (#8887)

Fixes #7777

* 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

* 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

* Create html-entities definitions file (#8890)

* Create html-entities definitions file

* Fix Travis test

* Introduce done function declaration with fail method (#8891)

* 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

* Introduce `unfoundState` type from `$stateNotFound` event (#8894)

* partition's thisArg should be optional (#8895)

* Added react-tagcloud (#8899)

* 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.

* add declare module "nouislider" (#8905)

* 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.

* Allow import statement from Typescript (#8911)

* Missing loglevel public API methods added (#8914)

* Update definition of Flatten method in chain. (#8901)

* RxJS: resultSelector is optional in combineLatest (#8917)

* 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

* 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

* Add option that can be set for CircleMarker (#8912)

* Return typed definition from toJSON method (#8859)

* Return typed definition from toJSON method

* Test toJSON returns IMyResource

* Update http-status to 0.2.1 (#8920)

* Add rebass (#8925)

* Add type definitions for 'rebass' module

https://github.com/jxnblk/rebass

* Add tests for rebass.d.ts

* 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

* Create Falcor definitions (#8882)

* Create Falcor definitions

* Rename some interfaces(Upper camel)

* 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

* adding microgears definitions (#8930)

* qrcode-generator added (#8932)

* Add type definitions for Handsontable (#8934)

* feat(): add type definition for cordova-plugin-background-mode (#8936)

fix(): space out the comment text from commenting slash

* add js-md5 export (#8940)

add js-md5 export

* Update avaiable hooks. (#8909)

Apply comments.

Minor changes.

* 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.

* Fix function definitions in flowjs.d.ts (#8942)

* Fix function definitions in flowjs.d.ts

* Update flowjs-tests.ts

* Update gapi.d.ts (#8944)

Adding the optional url param to gapi.client.load

* Update angular-material.d.ts (#8896)

Add IColorPalette for [$mdColorPalette](https://github.com/angular/material/blob/master/src/core/services/theming/theme.palette.js)

* 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.

* Add documentation for cookie-js (#8836)

* Backbone: History.getFragment, the implementation doesn't have any mention of a second argument (#8949)

* Update react-intl locale data location (#8945)

* 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.

* 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

* added "src and "fields" to bunyan Logger definition (#8954)

* Added typings for rx-dom (#8792)

* Added typings for rx-dom

* Added missing references

* Rename test file to tests

* Rename tests

* Fixed tests

* Fixed tests

* Update to 15.2.9 (#8953)

* add MarkerLabel definition

* add docs to MarkerLabel

* add missing getLabel and setLabel to Marker
2016-04-14 21:44:51 +09:00
liushigit
7437a9ab3a added an empty namespace in koa-bodyparser.d.ts (#8979)
Without this, there will be `Module '"koa-bodyparser"' resolves to a non-module entity and cannot be imported using this construct. (2497)` error
This solution is found (here)[https://github.com/Microsoft/TypeScript/issues/5073].
koa-json's `.d.ts` file has such namespace.
2016-04-14 21:44:40 +09:00
Igor Kriklivetc
641df27e73 Update to 15.2.9 (#8953) 2016-04-13 02:06:55 +09:00
Pedro Pereira
ea1030269b Added typings for rx-dom (#8792)
* Added typings for rx-dom

* Added missing references

* Rename test file to tests

* Rename tests

* Fixed tests

* Fixed tests
2016-04-13 00:51:40 +09:00
Benjamin Nwaneampeh
773ae6e25d added "src and "fields" to bunyan Logger definition (#8954) 2016-04-13 00:51:12 +09:00
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