Commit Graph

22545 Commits

Author SHA1 Message Date
recuedav
1c98e17b07 Merge branch 'master' of https://github.com/RecuencoJones/DefinitelyTyped into feature/update-localforage-typings 2016-11-02 11:33:38 +01:00
Zhengbo Li
4d672cbbd7 Merge pull request #12103 from RemyJeancolas/master
[material-ui] Add onKeyDown event on TextFieldProps interface
2016-11-01 15:32:16 -07:00
Leo Rudberg
769e789454 Fix ordering of Server.listen definitions (#12399)
The version of `Server.listen` that takes a `ListenOptions` as the first argument should come before the versions that take `any` as the first argument. For example, even if a `ListenOptions` object is given, VSCode will assume it is `any` in its helper text. I find that not as preferable for type-safety reasons ( avoid all `any`s ;) ).
2016-11-01 23:00:44 +09:00
Isidro Martínez
eaaf036c78 add supported types by jQuery selector (#11967)
Actually jQuery supports multiple selector types see: http://api.jquery.com/jquery
2016-11-01 22:34:57 +09:00
Georgii Dolzhykov
0b5e88ac70 angularjs: as a shortcut, directives can be defined with just the linking function (#12144)
See https://docs.angularjs.org/api/ng/service/$compile

"You can either return a Directive Definition Object (see below) that defines the directive properties, or just the postLink function (all other properties will have the default values)."
2016-11-01 21:49:50 +09:00
Dmitry A. Efimenko
a8ecb3be1d inquirer - make sure methods don't conflict (#12247)
* add prompt() override returning promise

according to [docs](https://www.npmjs.com/package/inquirer#inquirerpromptquestions---promise)

* made sure there won't be conflicts

* Revert "made sure there won't be conflicts"

This reverts commit 0281989a3826e2b57fcd4e355d899ebd11604153.

* Revert "add prompt() override returning promise"

This reverts commit b5094ce38d78fc40c59653926711de2b297105cf.

* resolve method conflicts
2016-11-01 21:41:02 +09:00
Fenying
0ad4edb4e8 Improvement to definitions of module async. (#12180)
* Updated module async.

1. Added Dictionary for the collection APIs.
2. Fixed incorrected callback definition for some collection APIs.

* Simplify some definitions of module async.

* Fixed the callback type of async.someLimit.
2016-11-01 21:25:56 +09:00
Till Wolff
300ed0bb42 added missing type for ReactSelectProps.value (#11964) 2016-11-01 21:19:32 +09:00
Tom Davidson
c9999d4e97 promises on putObject (#11923) 2016-11-01 21:12:53 +09:00
Tsvetomir Tsonev
44be13ae84 feat: update Kendo UI definitions to 2016.3.1028 (#12316) 2016-10-29 01:10:07 +09:00
Caleb Meredith
ad261d041d Expose structural GraphQL types (#12142)
* Expose structural GraphQL types

https://github.com/DefinitelyTyped/DefinitelyTyped/pull/12078, but on the `master` branch.

/cc @TonyPythoneer, @zhengbli

* Update graphql.d.ts
2016-10-29 01:01:37 +09:00
Karl-Aksel Puulmann
0b4ef9b412 Bump toastr version to 2.1.3 (#12311)
Adds support for escapeHtml, see https://github.com/CodeSeven/toastr/blob/master/CHANGELOG.md#new-features-1
2016-10-29 00:56:10 +09:00
Caleb Meredith
54d1d6f8ed Expose AST types (#12143)
* Expose AST types

/cc @TonyPythoneer

* Update graphql.d.ts
2016-10-29 00:55:16 +09:00
TonyYang
0ad40bb042 [joi] Correct the validate function (#12306)
* Correct the validate function

* I lookup source code to correct validate func

* Find the correct type assert for validate

* According to new definition, to update tests

* Delete redundant function

* Enhance test completeness

* Fix the error
2016-10-29 00:54:55 +09:00
TonyYang
dc17e1a247 [loadsh] Make method module definitions (#12220)
* Define type for method modules

* Update lodash-tests.ts
2016-10-29 00:40:38 +09:00
ptrckc
a8bd330e4b Update Joi's ValidationOptions and AnySchema interfaces (#12102)
* Update ValidationOptions and AnySchema interfaces

* Update ValidationOptions and AnySchema interfaces

* Remove `error` from global options

See: https://github.com/hapijs/joi/issues/1012

* Remove `error` from global options

See: https://github.com/hapijs/joi/issues/1012
2016-10-29 00:33:09 +09:00
Hassan Abdel-Rahman
2c6d2feff0 S3 (#12169)
* updated bull typing

* add copyObject to S3
2016-10-28 23:45:54 +09:00
Karol Janyst
b6bd0766d8 Add definitions for reactcss (#12122)
* Add definitions for react-css-transition-replace

* Add definitions for reactcss

* Change test header

* Remove accidentally added other definitions

* Remove yarn.lock from .gitignore
2016-10-28 23:35:07 +09:00
ToastHawaii
47221120df Create type definition for synaptic (#12185)
* Create synaptic-tests.ts

* Create synaptic.d.ts

* Update synaptic.d.ts

* Update synaptic.d.ts

* Update synaptic-tests.ts

* Update synaptic.d.ts

* Update synaptic.d.ts

Remove not needed public, change overloading to optional parameters, remove duplicate method.
2016-10-28 23:25:12 +09:00
Stefan Dobrev
7155ef2d2d [mocha] Add global run function (#12136) 2016-10-28 23:15:24 +09:00
Flarna
45c5bcd854 Add process.mainModule, improve NodeModule (#12257)
* Add process.mainModule, improve NodeModule

Add mainModule in process. See https://nodejs.org/dist/latest-v6.x/docs/api/process.html#process_process_mainmodule

improve require.main see https://nodejs.org/dist/latest-v6.x/docs/api/modules.html#modules_accessing_the_main_module

improve NodeModule see https://nodejs.org/dist/latest-v6.x/docs/api/modules.html#modules_module_children and https://nodejs.org/dist/latest-v6.x/docs/api/modules.html#modules_module_parent

* Correct require.main and NodeModule
2016-10-28 23:13:14 +09:00
Niels Kristian Hansen Skovmand
94bd397fda Removed typings for spotify-web-api-js because they are now integrated in the package. (#12145) 2016-10-28 23:06:17 +09:00
Edward Silverton
0190982444 added setVRDisplay to VRControls and VREffect (#12008)
* added setVRDisplay to VRControls and VREffect

* return void
2016-10-28 22:55:57 +09:00
TonyYang
896f939be7 [node] Update events for repl (#12262)
* Update events for repl

* Update related tests

* Fix argument
2016-10-28 22:55:20 +09:00
TonyYang
8791a14cc5 [node] Update events for readline (#12261)
* Update events for readline

* update related tests
2016-10-28 22:54:20 +09:00
TonyYang
38f3096f49 [node] Update events for child_process (#12260)
* Update events for child_process

* Add related tests
2016-10-28 22:54:00 +09:00
PishangCode
2ad9354d49 added type definitions for node-billplz (#12041)
* added type definitions for node-billplz

* renamed folder node-billplz to billplz

* renamed billplz-test.ts to billplz-tests.ts

* update constructor type

* update BillplzOptions interface

* update create_bill test

* change key to require

* remove trailing comma

* update callback type

* update code pattern
2016-10-28 22:44:12 +09:00
Derek Louie
5411d2e84a Adds the onCloseSuccess config to MdPanel and reveals absPosition enum (#12171) 2016-10-28 22:43:38 +09:00
Chris Khoo
8a84aefa04 set strictNullChecks to true in doc (#12242) 2016-10-28 22:25:13 +09:00
Alejandro Sánchez
a37e6d24dc Make callback arguments non optional per best practices on callback signatures (#12238) 2016-10-28 22:13:03 +09:00
Zhengbo Li
9a792f184c Merge pull request #12161 from mmckenziedev/polymer-renderstatus
Adding RenderStatus to API
2016-10-26 11:12:05 -07:00
Andy
1068554272 Write new pull request template (#12100) 2016-10-26 08:42:37 -07:00
Andy
6685090e94 Fix tsconfig in readme (#12107) 2016-10-26 08:42:23 -07:00
Andy
31eb66a8dd Improve README (#12133) 2016-10-26 08:41:58 -07:00
Michael McKenzie
5ac33397a5 remove private methods from Renderstatus 2016-10-26 16:40:03 +01:00
Michael McKenzie
58f16959ce add @deprecated comment to ImportStatus 2016-10-26 16:40:03 +01:00
Michael McKenzie
b4fccb09fc adding RenderStatus to API 2016-10-26 16:40:03 +01:00
Zhengbo Li
403268fecf Merge pull request #12177 from shivarajkv/master
Fusioncharts typings
2016-10-25 22:00:46 -07:00
Shivaraj kv
8def457e06 Replaced Object with {} 2016-10-26 00:06:35 +05:30
Michael McKenzie
003c965b31 Update Settings definition (#12163) 2016-10-26 00:49:14 +09:00
João Cristóvão
65ec496d30 added silly and verbose levels to winston (#12230) 2016-10-26 00:39:02 +09:00
Nathan Dao
87fef742c9 add support for Highcharts 5.0.0 update (#12170)
* add support for Highcharts 5.0.0 update

* add update return type

* change redraw in update to optional
2016-10-26 00:38:18 +09:00
Ivo Stratev
b62292ba07 Adding lowlight (#12164) 2016-10-26 00:37:25 +09:00
Ivo Stratev
54eb1c37f3 Adding react-syntax-highlighter (#12165) 2016-10-26 00:37:04 +09:00
Mike Deverell
4cc7cbabf6 [enzyme] state() with no props as an "S" (state type) return type (#12211)
* clarify and fix 'options' object types; Hammer.Manager requires an EventTarget, not HTMLElement

* fix RecognizerTuple type

* `state()` with no props has an `S` (state type) return value
2016-10-26 00:35:40 +09:00
Karol Janyst
b6f6ba5f89 Update definitions for react-fa (#12119) 2016-10-26 00:29:19 +09:00
Xavier Stouder
4e310dbcc0 Create xmldoc definitions (#12219)
* Create xmldoc definitions

* Fix implicit any
2016-10-26 00:08:41 +09:00
Linda_pp
dbd5fbc59a Add 'react-bytesize-icons' package (#12150)
* Add 'react-bytesize-icons' package

* Do not use 'import' in augumented module declaration

* Remove non-module namespace
2016-10-26 00:02:42 +09:00
Chris Fisher
b424d28ab1 Update react-native.d.ts (#12050)
* Update react-native.d.ts

Added additional props to NavigationHeaderProps.

* Update react-native.d.ts

Fixed indentation.

* Added more NavigationHeaderProps.
Also updated type for NavigationHeaderStatic.Title.
2016-10-25 23:58:26 +09:00
Duy Dao
d290d688b3 Update redux-storage-decorator-filter to 1.1.6 (#12067)
Added support for blacklist.
2016-10-25 23:54:01 +09:00