Commit Graph
52846 Commits
Author SHA1 Message Date
Nikolaj Kappler 5998a3b20d Merge pull request #3 from DefinitelyTyped/master
update fork
2018-10-23 13:29:51 +02:00
Arthur Langereis c624b64d99 Merge remote-tracking branch 'upstream/master' 2018-10-23 12:56:55 +02:00
Lukas Elmer aa24fb9b00 change examples to arrow functions 2018-10-23 11:41:20 +02:00
michael.geiss 8b48f38726 fix chai-jquery added enabled 2018-10-23 10:59:05 +02:00
Frederic Junod 889f9de5f9 [pbf] Add ArrayBuffer to the constructor argument type
In addition to `Uint8Array`, the `buffer` can be an `ArrayBuffer`.

See: https://github.com/mapbox/pbf/blob/v3.0.0/index.js#L8
2018-10-23 09:51:22 +02:00
Timur Manyanov f3cc5edb39 Add makeup-prevent-scroll-keys definitions 2018-10-23 09:10:00 +02:00
Anton Halim bfc8e1cfb0 Merge branch 'master' of github.com:DefinitelyTyped/DefinitelyTyped into fix-typo-paramter 2018-10-23 00:03:19 -07:00
Gilbert Gilb's 739edf1fb0 Move test files to a test directory. 2018-10-23 08:52:17 +02:00
jack 14714acd6e update config option for @types/better-scroll 2018-10-23 12:57:04 +08:00
Elizabeth Samuel 54be3d96bf office-js: Outlook October updates 2018-10-22 19:01:52 -07:00
Janari 71d9251b13 Add initial changes 2018-10-23 01:39:33 +03:00
Lukas Elmer bd74ec5aa4 add ascii-art definitions 2018-10-22 23:44:52 +02:00
Nelson Javier Novoa Tellez 2b22bc81f4 Change HistoryListenerParameter from type to interface 2018-10-22 15:42:25 -05:00
Timur Manyanov 75b2076a73 Add makeup-expander definitions 2018-10-22 22:37:46 +02:00
Nelson Javier Novoa Tellez 1340339ce9 Extract action types to its own type.
Change Histotyl.location property type from string to HistoryLocation to be accurate to current API
2018-10-22 15:29:23 -05:00
Gilbert Gilb's 97dc04e1dc styled-components: Add type definitions for the babel macro. 2018-10-22 22:08:06 +02:00
Spencer Elliott 6e55896886 Add a 'next' arg to slate-react render methods
As documented here: https://docs.slatejs.org/guides/rendering
2018-10-22 14:18:32 -04:00
Nelson Javier Novoa Tellez a1f9b81264 Enrich HistoryListener type adding parameters 2018-10-22 13:01:27 -05: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
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
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
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