Commit Graph

19050 Commits

Author SHA1 Message Date
Kevin Gutiérrez
efd8d92325 Add support for svgjs.resize 2016-05-25 13:01:45 -05:00
Marian Palkus
b9989e602b Update definitions of enzyme to version 2.3.0. (#9361)
* Update definitions of enzyme to version 2.3.0.

* Fixed URL of enzyme repository.
2016-05-25 17:39:55 +09:00
Tanguy Krotoff
8d252184e4 Allow ES6 import syntax for wolfy87-eventemitter.d.ts (#9415)
* Boostrap -> Bootstrap

* Allow ES6 import syntax for wolfy87-eventemitter.d.ts

See https://github.com/Microsoft/TypeScript/issues/5073
2016-05-24 23:24:29 +09:00
Chitoku
4248c26185 Add FileCallback and PerRouteMiddleware (#9374)
* Add FileCallback and PerRouteMiddleware

* Use import syntax in ECMAScript 6
2016-05-24 23:24:03 +09:00
Tom Wanzek
f2b2aeb303 Added missing exports for format and compile functions to support custom named formats (#9364)
* Added exports for functions format(name: string, fmt: string | Function): Function and compile(format: string): Function to morgan namespace. These fnctions are exported in the morgan js module and can be used in conjunction with the token function to create named custom formats. Inncluded tests.

* Added interface definitions to clarify the signatures of callback function used in defining custom tokens (TokenCallbackFn) with morgan.token(...). Added interface definitions to clarify signatures of custom format functions returned by morgan.compile(...) and used as arguments to morgan.format(...) and morgan(...). Added interface Morgan to clarify return type of morgan.token(...), morgan.compile(...) and morgan.format(...). For a detailed discussion of the rationale of there changes see comments in pull request #9364. Updated tests.

Updated version reference to morgan 1.7.0.
2016-05-24 23:23:55 +09:00
Victor Costan
9d184d8b22 backbone.radio: add module definition (#9413) 2016-05-24 23:21:30 +09:00
Tamir Duberstein
587f9d9cb0 isomorphic-fetch,whatwg-fetch: Add ArrayBuffer to BodyInit (#9387)
* isomorphic-fetch: whitespace

* isomorphic-fetch: Add ArrayBuffer{,View} to BodyInit

Relevant specs:
BodyInit: https://fetch.spec.whatwg.org/#bodyinit
BufferSource: https://heycam.github.io/webidl/#common-BufferSource

* whatwg-fetch: Add ArrayBuffer{,View} to BodyInit

Relevant specs:
BodyInit: https://fetch.spec.whatwg.org/#bodyinit
BufferSource: https://heycam.github.io/webidl/#common-BufferSource
2016-05-24 23:20:46 +09:00
William Comartin
4eb951c307 Adding Definitions for js-quantities (#9411)
* Add js-quantities library definitions

* Change Module to Namespace

* Remove intl-tel-input
2016-05-24 23:10:12 +09:00
Dan Marshall
ffe35810b4 Maker.js 0.8.0 and Bezier-js (#9408)
* Added definitions for Bezier.Js

* updates for maker.js and bezier.js

* removed copyright

* deleted bezierjs

* Added definitions for Bezier.Js

* updates for maker.js and bezier.js

* deleted bezierjs

* changed name to DefinitelyTyped

* update tests for 0.8.0

* rename to bezier-js

* add pdfkit reference

* public clockwise
2016-05-24 23:01:41 +09:00
Timofey Kachalov
dfa9185e5b Escodegen precedence (#9402)
* Added Precedence enum

* Added test for Precedence enum

* Added Precedence enum

* fixed test
2016-05-24 23:00:38 +09:00
Dmitry Pesterev
10dc219acc Updated jquery.tooltipster to 3.3.0 (#9406)
* Definitions for jquery.tooltipster 3.3.0

* Updated tests to test type union in content

* Version
2016-05-24 23:00:13 +09:00
Yonezawa-T2
b32c4f463d Updates kii-cloud-sdk v2.4.3 -> v2.4.4. (#9400)
Adds `getPendingEmailAddress` and `getPendingPhoneNumber`.
2016-05-24 22:56:40 +09:00
Sean Kelley
d456e7ccb0 Inferrable _.assign*, _.extend*, _.defaults (#9388)
* Change the signatures of the _.assign* functions to use intersection types, following 4e4ffc7e.

* Redefine _.extend and _.extendWith from scratch by copy-paste-renaming _.assignIn and _.assignInWith (respectively).

* Uncomment lodash/extendWith module since it exists now.

* Redefine _.defaults using 6ff5a95d0 as a template.

* Flip the order of _.defaults intersected types so earlier arguments take precedence when a field is mentioned multiple times.

Also fix an extraneous type parameter on an _.assign overload.

* Rewrite most of the tests to remove the TResult parameter where appropriate. Add extendWith tests separate from extend tests.

* Fix bug with _.defaults where the explicit wrapper variant would return an implicit wrapper.

* Update lodash tests to remove a bunch of now-unnecessary type specification.
2016-05-24 22:56:08 +09:00
cjbarth
5f9cf2d84c Update Options.ca to use same type as NodeJs (#9399)
ca: A string, Buffer or array of strings or Buffers of trusted certificates in PEM format.
2016-05-24 22:53:46 +09:00
Telshin
1751c28d19 React-GA typing files (#9397) 2016-05-24 22:52:21 +09:00
Pei-Tang Huang
8a851abfad Html2canvas 0.5 (#9293)
* Merge function with optional argument.

* Align function to 0.5.0 (by replacing callback by Promise.)

* Declare module for easier import.

* Format.

* Update version and author information.

* Use ES6 Promise directly.
Since DefinitelyTyped recommend compilation with `--target es6` and `--noImplicitAny` options.

* Revert "Use ES6 Promise directly."
Projects targeting es5 wouldn't compile due to the leak of ES6 Promise.

This reverts commit 7d022d153c0601384d920671a3150fa7bcacd166.

* Fixed header format.
2016-05-24 22:50:36 +09:00
Tanguy Krotoff
9fb3c230e0 Add core.version (#9383)
See https://github.com/zloirock/core-js/blob/v2.4.0/modules/_core.js#L1
See https://github.com/zloirock/core-js/blob/v2.4.0/library/modules/_core.js#L1
2016-05-24 22:48:47 +09:00
Boris Yankov
a5c07a6098 Merge pull request #9264 from abbasmhd/master
add clearOptions to force clearing a toast
2016-05-24 06:39:25 +03:00
Denis Shelomovskij
e69daec7f7 Fix LoaderHandler.add signature. (#9410)
Also specify `LoaderHandler.handlers` element type.
2016-05-23 13:13:17 +09:00
Rajab Shakirov
c709db2e04 update visibleTimeStart, visibleTimeEnd properties (#9405)
* update visibleTimeStart, visibleTimeEnd properties

* update to actual version number
2016-05-23 13:11:52 +09:00
rubyboy
e39e0817d0 Updated atmosphere.js to have a default exported module. (#9355) 2016-05-23 13:10:26 +09:00
Timofey Kachalov
21355aa58d estraverse d.ts (#9401) 2016-05-23 13:09:47 +09:00
Ryan
4d47ff605f Adding arrows function to render function of dagre-d3 (#9398) 2016-05-23 13:08:21 +09:00
hookclaw
80843c4d7e Add "argv.d.ts" (#9392) 2016-05-23 13:00:18 +09:00
hookclaw
d8b8632c61 Add property "connected" (#9391) 2016-05-23 12:57:54 +09:00
Evan Sebastian
da28561597 webpack: Add OccurrenceOrderPlugin as Webpack optimizer (#9365)
* Add OccurrenceOrderPlugin

* Add deprectation notice
2016-05-23 12:55:35 +09:00
Milan Burda
0710f0ad23 Update to Electron 1.0.2 (#9371) 2016-05-23 12:54:12 +09:00
Hiroyuki Wada
b6b74cabd7 Add redirect option to whatwg-fetch (#9366) 2016-05-23 12:50:05 +09:00
Sam Vervaeck
d55165c981 Allow paths to be buffers in fs of node v6.x (#9359)
* Allow buffers to be passed in fs for node v6.x

* Fix wrongly typed index in fs.realpath

Fixes the following errors:
- node.d.ts(1426,62): error TS1023: An index signature parameter type must be 'string' or 'number'.
- node.d.ts(1427,68): error TS1023: An index signature parameter type must be 'string' or 'number'.
2016-05-23 12:14:22 +09:00
Craig Younkins
816f03f3e4 Updated irc definitions to include connect callback as first argument and password config attribute (#9276) 2016-05-21 08:42:29 -07:00
Bjørn
8ea257c707 protractor-http-mock: Add runtime mocks and plugin support. (#9377) 2016-05-21 08:41:45 -07:00
Evan Sebastian
91b1371796 redux-actions: Un-restrict types of payload and reducer state (#9380) 2016-05-21 08:41:16 -07:00
developermj
63abab7f6b Adding string to after option for dotdotdot as per documentation (#9373) 2016-05-21 08:37:27 -07:00
Doug Miller
9d10809d05 Added language and languages properties (#9372) 2016-05-21 08:35:43 -07:00
Florian Plattner
4ec043b451 Update node schedule (#8827)
* updated typings for node-schedule

* some fixes

* corrects spelling and references on node-schedule
2016-05-21 08:34:13 -07:00
arcdev1
bb7f67e2e1 add type defintions for correct md5 module (per npm) (#9347)
* add type defintions for correct md5 module (per npm)

* Corrected md5 to CybozuLabs-md5

* added typings for md5 (npm version)
2016-05-21 08:32:51 -07:00
Erick Ponce
03fd25f9b0 Update ioredis.d.ts (#9362)
Added new option dropBufferSupport that is used with hiredis parser
2016-05-21 08:26:53 -07:00
Robin Joseph
ccb4c316dc allow objects for hapi's request.log (#9353) 2016-05-21 08:26:37 -07:00
Antonio Morales
ac94ea7331 Update sendgrid typings to v2.0.0 (#8492)
* rename sendgrid typing file to include version

* upate sendgrid typing definitions

* add reference to smtpapi typings

* merge

* make tests pass
2016-05-21 08:26:16 -07:00
Cluda
b76f5c0e57 SignOptions.expiresIn should be string or number (#8806)
* SignOptions.expiresIn should be any

https://github.com/rauchg/ms.js can take number or string

* expiresIn should be a string or a number
2016-05-21 08:26:05 -07:00
Ville Lahdenvuo
445ed7e54c Add Undefined to should (#7746) 2016-05-21 08:25:56 -07:00
Jules Truong
4143c4ff6f Miss register to Configurationoptions (#9292) 2016-05-21 08:25:45 -07:00
styu
ddc412f754 Add MergeView typings to CodeMirror (#9344)
* Add MergeView typings to CodemMirror

* Move MergeView definitions to new namespace and removed unnecessary callback interfaces
2016-05-21 08:22:26 -07:00
Ian Firkin
8f68f8cd4b Dojo xhr (#9339)
* Makes xhr return a promise instead of void

Xhr takes an argument which determines it's return type--either
Promise (the default) or Deferred.  Currently in the type definitions,
it returns void.

I've also commented out the "helper" methods (get, post, etc.), to
match the source code--they're commented out there as well.

* Comments out entire interface body

Removes the entire interface with helper methods.

* Adds back "helper" methods to xhr

This methods are included via the `util.addCommonMethods` call, and
so should be in the type definitions.
2016-05-21 08:19:17 -07:00
Colin Eberhardt
668ab30824 Added initial typings for remote-redux-devtools (#9357) 2016-05-21 08:18:32 -07:00
João Monteiro
c59e98d3ee removed get/set (not present in the object);added function;updated test file; (#9356) 2016-05-21 08:16:41 -07:00
Vaggelis Mparmpas
48a5cfd0d7 cachefactory typings (#9202)
* cachefactory typings

* Removed: I prefix from model interfaces
Added: interfaces: CacheGetOptions, CachePutOptions, CacheTouchOptions
2016-05-21 08:15:52 -07:00
Abhishek Garg
41f31600a1 Rectify type for IState.template (#9354)
Add `params: IStateParamsService` for IState.template function
2016-05-21 08:14:13 -07:00
vvakame
7e9254fac7 fix line ending of daterangepicker 2016-05-21 08:11:47 -07:00
Andrey Lipatkin
e0abafb1a6 Narrowing down possible values for direction parameter (#9352)
* Fixing favIconUrl property name typo for TabChangeInfo class

* Empty commit to trigger Travis CI

* Made direction parameter more specific by using string literal typing
2016-05-17 23:35:03 -07:00