Commit Graph

51559 Commits

Author SHA1 Message Date
Alex Jerabek
a6bc8a07c8 Seeding package 2018-10-26 10:40:30 -07: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
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
Ben Grynhaus
bb0154f412 Add stylenames types (#29880) 2018-10-19 09:25:02 -07:00
Caner Dağlı
0343403c57 Removed the global declaration in the sprintf-js package (#29879)
* Removed the global declaration

* Added a blank line to the end of the file
2018-10-19 09:09:10 -07:00
Chun-Yan Ho
be373f1f6d add subQuery option (#29872) 2018-10-19 09:06:55 -07:00
Duong Tran
2093b5c036 [Mobx-cookie] add a new type definition (#29868)
* feat: add type definition for mobx-cookie

* fix: update version and add strictFunctionTypes to satisfy the test
2018-10-19 08:57:42 -07:00
Abraham Williams
8fe8a7bf58 Twit: Add strictSSL to Options (#29866) 2018-10-19 08:55:54 -07:00
Andreas Bergqvist
c76ce3bec0 Add typings for nookies (#29857)
* Add typings for nookies

* Set strictFunctionTypes to true

* Fix get function return type

* Add semicolons
2018-10-19 08:54:22 -07:00
Aimee Gamble-Milner
5508e44eee Add react-syntax-highlighter prism component and language typings (#29586)
* Add react-syntax-highlighter prism component types

* Add prism language support and correct multiple spaces
2018-10-19 08:44:09 -07:00
Ryan
be662c475d Added types for existing snowball-stemmers package (#29854)
* added types for existing snowball-stemmers package

* added strictFunctionTypes to tsconfig

* fixed lint spacing issues

* changed class to interface and added algorithms interface

* removed module declaration

* fixed github url header to https
2018-10-18 16:02:27 -07:00
Andy
e5996bd17a boom: Remove unused dependency on hapi (#29859) 2018-10-18 13:00:09 -07:00
jlismore
d608967260 Add types for react-tag-autocomplete pkg (#29856)
* Types for react-tag-autocomplete pkg

* Add TS version to declarion file
Fix test errors
2018-10-18 12:45:04 -07:00
Steven Bell
e409eb2907 Add type definitions for the i18n-abide package. (#29855)
* Add type definitions for the i18n-abide library.

* Fix test and tsconfig.
2018-10-18 12:21:01 -07:00
Joey Silva
310fdc8633 Make LineWidgetOptions type for addLineWidget (#29620) 2018-10-18 12:11:43 -07:00
Igor Golovin
ac036745cf Type definitions for meteor/react-meteor-data (#29827)
* Type definitions for meteor/react-meteor-data

* Fix TypeScript Version

* Fix "JSX element type  does not have any construct or call signatures" error

* Tune some types.

* Fix tslint errors.

* Fix no-unnecessary-generics

* Move react-meteor-data.d.ts under meteor folder.

* Fix intends

* Fix import typo.
2018-10-18 12:09:39 -07:00
Nikolaj Kappler
0bf9264d1d added definitions for "astring" (#29815)
* added astring definitions

workstream:

* fixed linting

workstream:

* updated index.d.ts

added comment 
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

to fix test build

* updated tslint.json

workstream:

* added global scope support and removed redundant export

* fixed missing semicola.

* moved global test to own file.

* cleaned tslint.json

workstream:

* tslint.json: removed custom rules

probably fixes necessary, but local build does not produce any linting
errors...

workstream:

* tslint fixes

workstream:

* fix import

workstream:

* removed import in global test.
2018-10-18 12:07:58 -07:00
Anton Lobashev
24a30d0f2e Add types for mongration (#29843)
* Add types for mongration

* Make MigrationResponse status type more explicit
2018-10-18 10:23:44 -07:00
Leonard Thieu
5348b35343 [jquery] Split up declarations to stay under GitHub limits. Improve documentation. (#29831)
* [jquery] Split `JQueryStatic` into its own file.

* [jquery] Split `JQuery` into its own file.

* [jquery] Split `JQuery` namespace into its own file.

* [jquery] Split legacy types into their own file.

* [jquery] Remove hard line breaks from documentation descriptions.

WebStorm treats line breaks in descriptions as line breaks when rendering descriptions in tooltips. This causes unintentional early wrapping of text.

* [jquery] Remove extra line after descriptions.

* [jquery] Audit lint rules.

* [jquery] Improve documentation for API methods which have had their signatures unified.
2018-10-18 09:23:20 -07:00
Thomas
199476afe2 Timeout field in PublicKeyCredentialRequestOptions is optional (#29700) 2018-10-18 09:20:32 -07:00
Christian Chown
f3de139d1b Update react-native-google-signin to v1.0 (#29697)
* Update react-native-google-signin to 1.0

* Add disabled prop to sign in button as per 1.0.0-rc4
2018-10-18 09:17:09 -07:00
John-Olav Storvold
5262124ac3 Add missing closeOnToastrClick-prop (#29849) 2018-10-18 09:02:37 -07:00