Commit Graph

23332 Commits

Author SHA1 Message Date
Adam Cmiel
2f38649769 Types 2.0 (#12429)
* add missing members for token creation

add `createToken: (StripeTokenData) => Promise<StripeTokenResponse>` overload to StripeStatic
add `type: string` in StripeTokenResponse

* [FIX] response interfaces

* add apple pay

* [FIX] tests
2016-11-08 23:15:49 +09:00
Dan Manastireanu
8f06c382f0 Update ChartAnnotations in google.visualization. Closes #11828 (#12362) 2016-11-08 23:13:47 +09:00
Andy
67213581f3 Upgrade packages for types-2.0 (#12539) 2016-11-08 06:05:52 -08:00
Rasmus Prentow
93bb233648 Added missing method and missing param (#12403) 2016-11-08 22:59:28 +09:00
Endel Dreyer
1a5687cdc6 EaselJS: add relatedTarget to MouseEvent (#12533)
* EaselJS: add propagationStopped and relatedTarget to MouseEvent

* remove propagationStopped from MouseEvent

it should rather be in createjs-lib.d.ts Event definition
2016-11-08 22:59:16 +09:00
Steve
374978e36a Add definitions for trim (#12292)
* Add definitions for trim

* comments from PR
2016-11-08 22:58:24 +09:00
SONIC3D
fd7d42b3f1 [dat-gui]Updated definitions to dat.gui 0.6.1 (#12370) 2016-11-08 22:43:58 +09:00
Stephan
b4cd313a9a constructor of Chart also accepts HTMLCanvasElement (#12526)
According to http://www.chartjs.org/docs/#getting-started-creating-a-chart the constructor also accepts a HTMLCanvasElement as first argument.
2016-11-08 22:43:32 +09:00
Rand Scullard
9fbf2bbcd8 node-schedule: Add support for object literal syntax. (#12445) 2016-11-08 22:35:23 +09:00
David Zearing
732b0378d8 Updating capture events + test. (#12327)
* Updating capture events + test.

* Updating Capture methods to be inlined.

* Removing mouse enter/leave captures.
2016-11-08 22:25:07 +09:00
Yui
fc0c17b5ef Merge pull request #12519 from borekb/request-url-type-fix
Enhanced type of `url` and `uri` properties on the options object
2016-11-07 15:52:45 -08:00
Yui
4acd8c6916 Merge pull request #12485 from rsolomo/patch-bunyan
Update bunyan LoggerOptions to accept stdSerializers
2016-11-07 14:48:27 -08:00
Yui
9951e5fd6c Merge pull request #12469 from jesperzach/patch-2
Solved export error in index.d.ts
2016-11-07 14:32:42 -08:00
Yui
5b2c758bc3 Merge pull request #12466 from rufusl/angular-promise-tracker
Angular promise tracker
2016-11-07 14:03:44 -08:00
Tom Wanzek
fae5774ce6 Upgrade d3 to version 4.3 (#12534)
* [Chore]: Bump minor version number in definitons header
* [Chore]: Bump minor version  of `@types/d3-geo` dependency in package.json to 1.3
* [Chore]: Bump minor version  of `@types/d3-voronoi` dependency in package.json to 1.1
2016-11-07 12:26:51 -08:00
John Reilly
b39f6e9712 Merge pull request #12495 from bruce-lindsay/DefinitelyTyped-issues-12494
Definitely typed issues 12494
2016-11-07 18:45:58 +00:00
Georgii Dolzhykov
44f2662e49 Remove the typings for Protractor as it provides its own typings (#12482) 2016-11-07 10:43:45 -08:00
Nicolás Fantone
ba5d738c52 Update amqplib definitions to v0.5.0 (#12427)
* Update amqplib definitions to v0.5.0

* Remove unused import

* Restore previous 0.3.x amqplib definitions
2016-11-08 01:45:08 +09:00
Scott(JuJiang)
ad11ed23f2 Types/webpack sources (#12484)
* feat: add definition for webpack-sources

* fix: enable strictNullChecks
2016-11-08 01:29:51 +09:00
Tom Wanzek
39bfded109 [types-2.0] d3-geo Update to 1.3.1 (#12492)
* (d3-geo): Update to 1.3.1 and JSDoc
* [Chore] Updated definitions to conform to version 1.3.1
* [Feature] Added `geoIdentity()` and removed `geoClipExtent()`
* [Feature ] Added geoGraticule10()
* [Update] Changed API for `geoPath(...)`
* [Enhancement] Complete overhaul of  JSDoc comments
* [Chore] Some changes to sequencing of definitions
* [Fix]: Fixed GeoPath pointRadius() Accessor (getter may return constant number or accessor function.
* [Fix] GeoPath generator may return string (SVG path string) or undefined (when called with rendering context)
*

* (d3-geo) Test Updates
* Add  test for `geoGraticule10()`
* Remove tests for `geoClipExtent()`
* Add tests for `geoIdentity()`
* Fixed clipExtent tests to include explicit union with `null` type for return value of getter
* Fixed pointRadius getter test on geoPath to allow for accessor or number to be returned by getter

* (d3-geo) Tests Additional
* Add some more tests for new geoPath(...) API
2016-11-07 07:24:50 -08:00
Andy
e32ebf0ee4 Update angular-ui-router-default for types-2.0 (#12479) 2016-11-08 00:16:58 +09:00
XQ Kuang
b8f50c92ee + Navbar.Link and Navbar.Text to react-bootstrap (#12294) 2016-11-08 00:14:51 +09:00
TonyYang
393ada1ee2 [@types/mongoose] Declare a right type for _id (#12462)
* Declare a right type for _id

* Delete the error definition
2016-11-07 23:35:49 +09:00
TonyYang
f555feb4fc Add "toString()" for ObjectID (#12463) 2016-11-07 23:35:21 +09:00
Rogier Schouten
b006daa1c6 Add typings for object-diff. (#11984)
* Add typings for object-diff.

* review comment

* review comment - tsconfig.json

* fix tsc errors
2016-11-07 06:24:21 -08:00
sousarka
e9270215e9 Update index.d.ts (#12324)
add following options to the bootstrap-datepicker/DatepickerOptions. Also update the options url to point to the correct URL.
templates?: any;
zIndexOffset?: number;
showOnFocus?: boolean;
immediateUpdates?: boolean;
 title?: string;
2016-11-07 06:03:31 -08:00
Dan Homola
901da6fac0 Add typings for jsonminify (#12447)
* Add typings for jsonminify

* Fix test string

* Strip declare module

* Simplify declaration

* Fix declaration bug

* Change test import syntax, revert the declaration
2016-11-07 05:51:05 -08:00
Syncfusion-JavaScript
8c4ea15000 Syncfusion TypeScript(v13.3.0.52) files committed to Typings 2.0 (#12474) 2016-11-07 05:49:35 -08:00
Lucas Matías Ciruzzi
b71a151500 Improved camo support and updated to v0.12.2 (#12318)
* Improved camo support and updated to v0.12.2

* Fixed issue with camo lacking Template Schema
2016-11-07 22:40:04 +09:00
Ethan
8ef8a160c9 Twilio tweaks (#12109)
* Cleanup Imports

These should be uniform, and should all use the require() syntax, as
they’re referring to common js modules.

* Enable client.calls.list()

* Split up RestMethod signature

By splitting up the union into an overload, we get much more useful
autocomplete info.

* Remove BaseRequestCallback

BaseRequestCallback was only used in RestMethod, and it’s incorrect:
the user’s callback is always called with 3 arguments. I think this was
an attempt to say that the user’s callback doesn’t need to specify a
third argument, but a two-argument callback will already conform to
RequestCallback anyway.

As the updated tests show, this change gives us better type inference too.

* Use new Node HTTP Interface

This MiddlewareFunction type isn’t assignable to an express middleware
otherwise, as the latest express-static-core type declarations removes
Http.ServerRequest from the type definition of an express RequestHandler
2016-11-07 22:34:54 +09:00
Matt Martin
af3261e419 update getFragment declaration (#12255)
The documentation is pretty bad, but Relay's getFragment method allows for an optional second argument for passing initial variables to the fragment. This simply adds that.
2016-11-07 22:31:44 +09:00
ptrckc
678f191c72 Update express-brute types (#12422)
* proxyDepth option on ExpressBrute has been removed

See 94ee1f43e8

* getIPFromRequest(req) has been removed from instances

See 94ee1f43e8

* Document ExpressBruteOptions

* Export MemoryStoreOptions, Middleware and Options interfaces
2016-11-07 22:30:47 +09:00
Endel Dreyer
64b3d20514 Loader classes inherits from AbstractLoader (#12415)
* Loader classes inherits from AbstractLoader

* update PreloadJS version on header comments

* added contributor name
2016-11-07 22:30:08 +09:00
Rufus Linke
3e9f7aa91c add namespace export 2016-11-07 11:56:56 +01:00
Denis
5bb1023941 Implemented Tile-Reduce (#12475)
* Implemented Tile-Reduce

* Update tile-reduce from feedback
- inlined callbacks
- declare types "start" | "map"
2016-11-06 14:58:17 -08:00
Borek Bernard
dcaa0c94d8 url and uri options objects are now string | Url 2016-11-06 17:25:24 +01:00
Rogier Schouten
12b8c644f1 Add Leadfoot typings (#11733)
* Remove global pollution to allow Node.JS and Leadfoot to be included together (Leadfoot uses a part of Dojo but not the conflicting globals). Add Thenable to support Leadfoot typings.

* Add leadfoot typings and initial tests.

* Remove ... references from tsconfig
2016-11-06 07:52:38 -08:00
Fred Eisele
5dedaaa274 Webgme types (#12166)
* added @types for N3, an RDF package

* changed file names to match requirements for syncing with @types

* naming recommendation conformance

* added type definitions for webgme

* provide constructor and factory with same function name

* checkpoint

* removing declare module n3, making ProperModule

* changed reference path to types and corrected errors associated with strict null

* checkpoint

* test the project with "tsc --project tsconfig.json"

* changed from "reference path=" to "reference types=" when possible

* removing wildcard declaration

* combined *.d.ts files and *-tests.ts

* removed task completion comments

* removed patch version and strict null check on
2016-11-06 07:39:54 -08:00
Prashant Tiwari
3c0d432527 Add types for lab v11 (#12468) 2016-11-06 07:23:30 -08:00
Philipp A
b469fc9234 Added copy-webpack-plugin definition (#12508) 2016-11-06 07:17:55 -08:00
ersimont
cf9f220044 add types for ranginputs (#12506) 2016-11-05 19:17:14 -07:00
Daniel Rosenwasser
fa723912af Fix file-saver hyphen (#12507)
* Fix folder name for the 'file-saver' package.

* Better indentation.
2016-11-05 19:12:01 -07:00
Ethan Rubio
f498c98b3b Add string-hash (#12499)
Refactor string-hash definition

Refactor string-hash to use commonjs
2016-11-05 19:11:01 -07:00
Andy
d2150a603f Even more 2.0 (#12503)
* Always use forceConsistentCasingInFileNames

* Rename files

* Convert more packages to `types-2.0` style
2016-11-05 13:34:11 -07:00
Philipp A
0c861b0b4c Added event-to-promise definition (#12502) 2016-11-05 12:36:47 -07:00
jramsay
c1061d8a9d Merge pull request #12481 from DefinitelyTyped/more_2.0
Convert more packages to `types-2.0` style
2016-11-04 16:15:17 -07:00
bruce-lindsay
57556c944d Update jquery-tests.ts
fixed comment
2016-11-04 17:24:36 -04:00
Andy Hanson
a1fbe3bc3f Convert more packages to types-2.0 style 2016-11-04 13:48:19 -07:00
Andy Hanson
c016b5b79f Rename files 2016-11-04 13:42:08 -07:00
Bruce Lindsay
a7baddf2ad fix return type to include a chained promise 2016-11-04 16:03:55 -04:00