Commit Graph

51584 Commits

Author SHA1 Message Date
Sebastian Greaves
5bddeaef13 Add SyntheticEvent type 2018-10-24 15:01:12 +01:00
Sebastian Greaves
148162eac3 Correct linter issues 2018-10-24 14:53:54 +01:00
Sebastian Greaves
21351beac6 Address review feedback
- Use more strict `Event` rather than `any` for `event` function
- `Editor` is not really an `Immutable.Record` so rework class definition to remove the extension on `Record`
2018-10-24 14:49:13 +01:00
Sebastian Greaves
c201a29a80 Bump version number 2018-10-24 14:00:37 +01:00
Sebastian Greaves
b486074693 Correct indentation 2018-10-24 13:57:02 +01:00
Sebastian Greaves
af28fa1d9b Undo unintended line removal 2018-10-24 13:52:16 +01:00
Sebastian Greaves
c60ad4ab65 [Slate] Add Editor Definition
Editor is not defined in @types/slate, making it difficult to develop
for slate in Typescript if not using slate-react ( and therefore
@types/slate-react, where the React mounted editor is defined).
2018-10-24 13:44:38 +01:00
Igor Oleinikov
3b01bb29b1
Merge pull request #29916 from gilbsgilbs/styled-components-macro
[styled-components] Add type definitions for the babel macro.
2018-10-23 11:58:53 -07:00
Ron Buckton
bfbf192f3e
Merge pull request #29906 from fluidsonic/facebook-js-sdk-3.1
[facebook-js-sdk] Updated types to SDK version 3.1
2018-10-23 10:02:22 -07:00
Ron Buckton
3af200ae80
Merge pull request #29819 from oBusk/angular-ui-sortable-property-clash
[angular-ui-sortable] Fix types of property 'sortable' are incompatible
2018-10-23 10:00:41 -07:00
Ron Buckton
7d4c5c480b
Merge pull request #29971 from zenmumbler/master
Update webgl-ext types to work with TS2.7+
2018-10-23 09:55:51 -07:00
Ron Buckton
978aa146d5
Merge pull request #29977 from Knuddels/master
updated some typings
2018-10-23 09:53:00 -07:00
Knuddels-TobyB
315b791e7a updated some typings 2018-10-23 17:56:14 +02:00
Arthur Langereis
aec45b1b4d
Add TS min version header to webgl-ext 2018-10-23 14:44:30 +02:00
Arthur Langereis
423e76ee79
Update webgl-ext types to work with TS3 2018-10-23 14:38:55 +02:00
Arthur Langereis
a84a949764
Remove types from old location 2018-10-23 14:37:56 +02:00
Arthur Langereis
c624b64d99
Merge remote-tracking branch 'upstream/master' 2018-10-23 12:56:55 +02:00
Gilbert Gilb's
739edf1fb0 Move test files to a test directory. 2018-10-23 08:52:17 +02:00
Gilbert Gilb's
97dc04e1dc styled-components: Add type definitions for the babel macro. 2018-10-22 22:08:06 +02: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
7535726eb4/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: 7535726eb4/ios/RNShare.m (L85-L122)
2018-10-22 08:47:20 -07: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
Daniel Luz
22fd132d2e Allow null for reset on google.visualization.DataTable.setFormattedValue() (#29721) 2018-10-22 08:32:39 -07:00
Marc Knaup
702ea44b91
Updated types of facebook-js-sdk to version 3.1 2018-10-20 17:21:58 +02:00
Andy
0e95a07e46 multer-gridfs-storage: Depend on latest mongodb (#29899) 2018-10-19 17:35:44 -07:00
Andy
769472a079 redux-testkit: Use "*" dependencies (#29895) 2018-10-19 17:08:01 -07:00
Andrew Musgrave
c65f587f01 Adjust threejs types (#29893) 2018-10-19 17:02:38 -07:00
Andy
f109134113 wepy-redux: Fix --strictFunctionTypes error (#29892) 2018-10-19 15:09:02 -07:00
Dan Freeman
1e07d02f5d [broccoli-plugin] Introduce types (#29888) 2018-10-19 15:02:41 -07:00
Andy
3c33ad3938 winston-mail: Fix "@types/winston" dependency (#29891) 2018-10-19 15:01:53 -07:00