Commit Graph
57967 Commits
Author SHA1 Message Date
Nelson Javier Novoa Tellez a1f9b81264 Enrich HistoryListener type adding parameters 2018-10-22 13:01:27 -05:00
AzSiAz 38983e317a Add overloading to get method 2018-10-22 19:58:14 +02:00
Timur Manyanov ace7dbcd8b Add makeup-keyboard-trap definitions 2018-10-22 19:15:39 +02:00
Stijn Van Nieuwenhuyse 618e005c76 @types/got: update options
Add missing options and replace retries with retry
2018-10-22 19:07:39 +02:00
Daniel Parker d9aff1fdeb [jsonwebtoken] FIX: Better typing to replace 'Function' 2018-10-22 11:56:03 -05:00
Alex Van Camp 32f4a9d1d4 Add typings for node-gamepad 2018-10-22 11:39:14 -05:00
Dan Manastireanu 3ea5ad14c4 @types/bull Update to version 3.4.8. Closes #22673 #23965 #18911 (#29875)
* @types/bull Update to version 3.4.8. Closes #22673 #23965 #18911

* Fix return type for moveTo* methods
2018-10-22 09:38:28 -07:00
juwar 2083505b39 Revert the formatting 2018-10-22 09:31:35 -07:00
Leonard Thieu c6fe757c0d [jquery] Fix TContext declaration of jQuery.proxy on wrong value's type. (#29930)
* [jquery] Match parameter names to documentation more closely.

* [jquery] Add documentation to parameters.

* [jquery] Fix `TContext` declaration on wrong value's type.

Declaring `this` as `TContext` on the input function ensures that it can handle having its context changed to `TContext`. Declaring `this` on the output function is not important because the function will be already defined. It can also get in the way when passing a callback to a function whose callback parameter has `this` declared.

* [jquery] Drop constraint from `TContext`.

It's not really necessary and it is possible to pass primitives as the context.
2018-10-22 09:28:30 -07:00
Gabor Babicz 6e675310cc Declare enableFeature (#29927)
* Declare `enableFeature`

* Add missing newline

Co-Authored-By: zeppelin <gabor.babicz@gmail.com>
2018-10-22 09:27:54 -07:00
Jeow Li Huan 434800bc66 @lingui/macro: Add Typescript definitions. https://github.com/huan086/lingui-typings/issues/2. (#29925) 2018-10-22 09:27:08 -07:00
Leonard Thieu 59b32e5353 [jquery] Add self-extending overloads of jQuery.extend(). (#29924) 2018-10-22 09:25:28 -07:00
Jungwoo An daa2f21886 Add new typings for consola (#29923) 2018-10-22 09:24:51 -07:00
Alessandro Burato 47d137af32 Type definitions for zipcelx (#29917)
* Type definitions for zipcelx

* add strictFunctionTypes to tsconfig.json
2018-10-22 09:21:30 -07:00
juwar 7cda494c69 Update version at top of file. 2018-10-22 09:21:02 -07:00
Mike Engel 98a045b99c feat(dev-ip): Add types for dev-ip (#29913) 2018-10-22 09:16:46 -07:00
ksnil cbcc683dee Fix handleFilterSuggestions return type (#29912) 2018-10-22 09:15:51 -07:00
juwar 730393928c Add maxFontSize and minFontSize to series that have it. 2018-10-22 09:13:40 -07:00
Yuri Araújo 91bbf4c1b2 Mustache: tags should be a string array (#29886)
* Parameter update according to Mustache documentation

* correction in comment

* Version

* Substituição de tipo any por string[]
2018-10-22 09:09:14 -07:00
Nicolas Chaulet 9566c07768 Add types for basicauth middlewares (#29876) 2018-10-22 09:08:34 -07:00
ClaytonAstrom 54dbb6af2c Added @disabled testhook (#29790) 2018-10-22 09:01:40 -07:00
woutervh- 9efeea3ac3 [nwmatcher] Created types for nwmatcher (#29778)
* Created types for nwmatcher

* Rename class -> className, fix tests

* Remove duplicate test case

* Added global namespace for accessing global matcher

* Moved tests to test folder, added separate global and module test files
2018-10-22 08:56:10 -07:00
Simon Schick fa01268068 fix(hapi): make cache generic (#29904) 2018-10-22 11:56:04 -04:00
Edward Sammut Alessi 01d1a10091 Update react-select types (#29774)
* Update types

* Update Select.d.ts

* Fix lint

* Change back quote style

* Fix formatGroupLabel
2018-10-22 08:55:22 -07:00
Andy ad45c4ce2b [jest] Definition authors (#29763) 2018-10-22 08:54:26 -07:00
wolfy1339 ce0f54a891 [pouchdb-core] Fix Blob interface by including dom (#29755)
* [pouchdb-core] Fix Blob interface by including dom

error TS2304: Cannot find name 'Blob'

* [pouchdb-core] duplicate Blob interface inline (#1)

Forward declare Blob instead of using a triple-slash directive.
/// <reference types="dom"> looks for 'dom' in Definitely Typed, but the 'dom' lib is built into TypeScript.
2018-10-22 08:50:43 -07:00
vidi42 34475b21d6 Changed parameter query to phoneNumber in googlemaps service. Closes #29308 (#29744)
* Closes #29308

* Changed parameter `query` to `phoneNumber` in googlemaps service. Closes #29308

* Changed executeSync `params` parameter to optional Closes: #29844

* Revert "Changed executeSync `params` parameter to optional Closes: #29844"

This reverts commit c57d941a9f.
2018-10-22 08:49:02 -07:00
Hitoshi Otsuki c40e8625a2 Change type of setMode parameter from string to Mode (#29737)
* google-apps-script: fix type of setMode parameter to Mode

* google-apps-script: resolve lint errors
2018-10-22 08:47:46 -07:00
Ullrich Schäfer da2e09f603 [react-native-share] Syncing with flow types from repo (#29736)
The types `Options` and `MultiOptions` as well as `OpenReturn` and
`ShareSingleReturn` are taken directly from
https://github.com/react-native-community/react-native-share/blob/7535726eb42205260c09d9f0a2b39ba6d00ebc2c/index.js
and have only have been transformed to interfaces.

The signature of the `shareSingle` call is missing `social` in the
official repo as well, but from the native code it becomes apearent that
it is required: https://github.com/react-native-community/react-native-share/blob/7535726eb42205260c09d9f0a2b39ba6d00ebc2c/ios/RNShare.m#L85-L122
2018-10-22 08:47:20 -07:00
Nelson Javier Novoa Tellez f9d49356ae Expose globalHistory as @reach/router does 2018-10-22 10:43:25 -05:00
Kamran Ayub 2ed0fa2d7e react-joyride: Fix callback type definition and add test (#29716)
* Fix callback type definition and add test

* Update version

* Add disableScrolling and showSkipButton

* Fix trailing whitespace
2018-10-22 08:42:55 -07:00
Avi Vahl 66a936b0a7 http-proxy-middleware: avoid installing winston as a dep of types package (#29678)
* http-proxy-middleware: avoid installing winston as a dep
per https://github.com/Microsoft/dtslint/pull/144

* package.json can be removed completely
since it has no deps
2018-10-22 08:39:09 -07:00
Doug Kent 8f7d68807b [web3]: fix eth.getBalance return type (#29093)
* fix eth.getBalance return type

* fix callback return type too

* docs are wrong, should be BigNumber

* added overload and tests

* correct optional params to be non-optional, add tests
2018-10-22 08:36:43 -07:00
grandin-j 29f659a079 Update index.d.ts with callbacks for show/hide
Add missing callback parameter to chrome.pageAction.show and chrome.pageAction.hide per https://developer.chrome.com/extensions/pageAction#method-show
2018-10-22 08:36:20 -07:00
Daniel Luz 22fd132d2e Allow null for reset on google.visualization.DataTable.setFormattedValue() (#29721) 2018-10-22 08:32:39 -07:00
Will Soto f5d60ed964 Update enum arguments to reflect latest signature
See https://knexjs.org/#Schema-enum
https://github.com/tgriesser/knex/pull/2632
https://github.com/tgriesser/knex/issues/394

Signed-off-by: Will Soto <will.soto9@gmail.com>
2018-10-22 09:27:49 -04:00
Benedict Etzel aea3aff3dd Remove react-i18next typings
The upstream library now ships it's own as of react-i18next 8.1.0.
See https://github.com/i18next/react-i18next/pull/557.

Closes #29408
Closes #29480
Closes #29685
Closes #29807
2018-10-22 15:13:38 +02:00
Timur Ramazanov cb1ad03e32 fromOperation and toXDRObject methods for Asset 2018-10-22 15:35:03 +03:00
normanperrin 98d715a117 mongoose: change useCreateIndex position in connect option obj 2018-10-22 07:55:43 -03:00
Leonardo Melo 960e0aaec7 Fix all linting errors in gsap type definitions 2018-10-22 11:43:31 +01:00
Alex Forbes-Reed 2f842c7fbc Added definitions for crpc 2018-10-22 11:24:42 +01:00
Leonardo Melo a1afe3580e Revert "Multiple linter fixes to gsap definition files"
This reverts commit f8a1d6645d.
2018-10-22 11:20:05 +01:00
Thomas Rayden 9f1d583833 Merge remote-tracking branch 'upstream/master' 2018-10-22 18:10:27 +08:00
Dan Manastireanu 36ee504748 Retrigger Travis 2018-10-22 11:32:13 +03:00
Dan Manastireanu 358be977dd @types/mongoose: Add writeConcern to SchemaOptions. Closes #29707 2018-10-22 11:23:54 +03:00
Alex Vidrean 38637cf193 Revert "Changed executeSync params parameter to optional Closes: #29844"
This reverts commit c57d941a9f.
2018-10-21 23:17:03 +03:00
Alex Vidrean c57d941a9f Changed executeSync params parameter to optional Closes: #29844 2018-10-21 22:40:08 +03:00
Laurens Rietveld 6b48cd471d Reverted some input types to take Rdf.<x> as input instead of N3.<x> 2018-10-21 21:38:05 +02:00
Hassan Khan 9741c314bd serverless: add Utils class types 2018-10-21 20:14:09 +01:00
Laurens Rietveld 7a4950008e Added check whether N3 datafactory can be passed as option where Rdf DataFactory is expected 2018-10-21 20:57:13 +02:00