Commit Graph

51279 Commits

Author SHA1 Message Date
Piotr Roszatycki
216fc5df12 simple-websocket: tweak typings for EventEmitter (#29563) 2018-10-09 11:12:42 -07:00
Krzysztof
13327ae0fc [mongodb] Allow "date" type in $currentDate (#29568) 2018-10-09 11:12:21 -07:00
Kerem
8dc1bbffc1 Orders type specified as "asc"|"desc" instead of string in orderBy. (#29572) 2018-10-09 11:11:50 -07:00
Waseem Dahman
5a8d34fa70 Add expand property on MatcherUtils (#29578) 2018-10-09 11:09:24 -07:00
Max
3d4028cde1 add missing types and functions to fluxible (#28729)
* add types for package 'fluxible'

* add fluxible router types

* fix tests

* fixed annotation

* add missing types

* fix tsconfig.json

* fix for lint

* fix lint

* fix name of a package

* add missing description

* delete bad copypaste

* add test file

* add tests

* fix getStore type check
2018-10-09 10:53:16 -07:00
Frank Li
fcaad045de Update type definitions for the latest version of inline-style-prefixer (#29426)
* Update inline-style-prefixer-tests.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts
2018-10-09 09:43:52 -07:00
Dimitar Danailov
d72804af05 [@types/chai-fs] Repo has a support for chai-fs. (#29430)
* Repo has a support for chai-fs. My pull request doesn't covers this
combination:
expect(path).to.be.a.file(msg).with.contents.that.match(/xyz/, msg);

* Remove blank line, downgrade typescript version to 2.0.0 and
strictNullChecks are equal to true.

* Fix build issue with typescript verion.

* Remove "v" from version.

* Typescript version should be: 2.2

* fix lint issues
2018-10-09 09:42:11 -07:00
Audy Tanudjaja
0fc1fd7483 add base64 and exif in CameraOptions - ImagePicker - Expo (#29553) 2018-10-09 08:45:21 -07:00
Piotr Roszatycki
a04638d3e7 wtfnode 0.7.0 (#29559) 2018-10-09 08:44:21 -07:00
Tyler Murphy
b17c41af1e Adds types for stream-array. (#29569) 2018-10-09 08:43:39 -07:00
Leonard Thieu
d883a9fd50 [jquery] Documentation improvements. Add jQuery.cleanData and overloads for jQuery.getScript and Data APIs. (#29573)
* [jquery] Introduce interface for `jQuery.fx`.

* [jquery] Attach `jQuery.Deferred` documentation to correct symbol.

* [jquery] Convert `jQuery.Callbacks` to an interface.

This change is purely for consistency with similar properties (e.g. `jQuery.Deferred`, `jQuery.Event`).

* [jquery] For `JQuery`, reduce examples to only those relevant to the overload and use shorter template for code-only examples.

* [jquery] For `JQueryStatic`, reduce examples to only those relevant to the overload and use shorter template for code-only examples.

* [jquery] For `JQuery.Event`, reduce examples to only those relevant to the overload and use shorter template for code-only examples.

* [jquery] For `JQuery.Callbacks`, reduce examples to only those relevant to the overload and use shorter template for code-only examples.

* [jquery] For `JQuery.PromiseBase`/`JQuery.Deferred`, reduce examples to only those relevant to the overload and use shorter template for code-only examples.

* [jquery] Consistent ordering.

* [jquery] Add `jQuery.getScript(options)`.

See https://github.com/jquery/api.jquery.com/issues/1052.

* [jquery] Fix documentation for this one overload of `jQuery.proxy`.

* [jquery] Accept `Document`, `Window`, and `JQuery.PlainObject` for the `element` parameter of Data APIs.

See 354f6036f2/test/unit/data.js (L142-L164) and https://github.com/jquery/api.jquery.com/issues/1035.

* [jquery] Add `jQuery.cleanData`.

See https://github.com/jquery/api.jquery.com/issues/996.
2018-10-09 08:34:57 -07:00
Ryan Waskiewicz
7e11725c47 Update externals definition for Webpack V3 (#29346)
* Update externals definition for Webpack V3

 - Externals should accept objects as their values (see https://webpack.js.org/configuration/externals/\#object);

* update types, add additional test
2018-10-09 07:18:05 +01:00
Ryan Waskiewicz
f0456f741e Update externals definition for Webpack V4 (#29345)
* Update externals definition for Webpack V4

 - Externals should accept objects as their values (see https://webpack.js.org/configuration/externals/\#object);

* fix linting errors

* update types, add additional test
2018-10-09 06:59:49 +01:00
Shuhei Tsukamoto
56073ea2ff onClick() and onHover() only receive single argument. (#29392) 2018-10-08 17:44:18 -07:00
Kristijan Sedlak
f66411657c Fix ListingOptions.limit type (#29416) 2018-10-08 14:34:42 -07:00
Josh Duff
c77754a345 Remove deepmerge: no longer needed (#29415) 2018-10-08 14:34:27 -07:00
Michelle Scharlock
0979551474 Added codeowners and updated comments in custom-functions-runtime (#29482)
* added codeowners and updated comments in CF-runtime

* fixing whitespace issues
2018-10-08 14:32:34 -07:00
meyer
49281a8e99 Revert "[react-dom] there is no type named Text" (#29483)
This reverts commit 96205f15ff.
2018-10-08 14:32:04 -07:00
Michael Lumish
57c23e7369 @types/node: Add missing 'verbatim' option in dns.resolve (#29488)
* @types/node: Add missing 'verbatim' option in dns.resolve

* Add dns.lookup verbatim option for Node 8 types
2018-10-08 14:31:03 -07:00
borkaborka
0e24eb45c6 [pg] Added query(QueryArrayConfig, values) overload (#29525)
* Added query(QueryArrayConfig, values) overload

* Update index.d.ts
2018-10-08 14:30:33 -07:00
borkaborka
10aae1842b ClientConfig/PoolConfig.statement_timeout (#29527) 2018-10-08 14:29:50 -07:00
Simon Epskamp
b3769d3ae8 [bezier-js] Make last args to quadraticFromPoints optional (#29544)
* Make last args to quadraticFromPoints optional

Also on cubicFromPoints.

As noted on the docs: https://pomax.github.io/bezierjs/
"The points p1 through p3 are required, all additional arguments are
optional."

* Add updated by
2018-10-08 14:29:14 -07:00
Florian Richter
53fa2492da mongodb: Fixed incomplete types from #29429 (#29546)
* mongodb: Fixed incomplete types (#29429)

* mongodb: Small fixes
2018-10-08 14:28:49 -07:00
Joe Tanner
aef71e1419 Fix typo in SafeAreaViewComponent docs (#29548) 2018-10-08 14:28:04 -07:00
Adrian D. Alvarez
a1e5eba8ee Add shortnameToUnicode function (#29547) 2018-10-08 14:27:02 -07:00
Pirasis Leelatanon
31daeec1d0 [redis] change increase-by-float commands to reply a string (#29541) 2018-10-08 11:49:15 -07:00
Kacper Wiszczuk
fc91b889a2 FIX Update FlatList and SectionList props (#29543) 2018-10-08 11:48:54 -07:00
Leo Cavalcante
797efa7948 Add next-redux-saga types (#29383)
* Add next-redux-saga types

* Add TypeScript version

* Matching TS version of React

* Sort by specific overload

* Fixes after npm run test

* Declare redux dependency

* Statically typed createStore

* For new packages, this file should only "extends": "dtslint/dt.json"

* require(next-redux-saga) is itself a function, not an object with a default property

* Enable ES Module Interop
2018-10-08 11:39:17 -07:00
Jesse Hallett
1899725695 Type definitions for array.prototype.flatmap (#29437)
* Type definitions for array.prototype.flatmap

* array.prototype.flatmap: importing "/auto" extends the Array prototype
2018-10-08 10:36:07 -07:00
Yanis Lukes
aef895f924 types df-visible: A fourth argument to the only function (#29314)
* df-visible: Fourth argument

Newer version of jquery-visible adds a fourth argument to the jQuery extended method.

* df-visible: added fourth argument test
2018-10-08 10:22:26 -07:00
WrathZA
bfa300406a Added definitions required to override getParentElement (#29317) 2018-10-08 10:22:08 -07:00
Kanitkorn Sujautra
29d283ca5c [redux-immutable] Upgrade type definition to support Redux v4 + Immutable v4 (#29334)
* [redux-immutable] Move the current version to v3 subfolder

* [redux-immutable] Copied v3 over to root and update it to v4
2018-10-08 10:21:41 -07:00
Sean Kelley
82307b21d5 [plotly.js] add barmode to Layout (#29342) 2018-10-08 10:20:33 -07:00
William Robertson
470a368da5 Updated @param disableAutoBOM (#29359)
Removed "don't" since it doesn't reflect the official documentation.

see -> https://github.com/eligrey/FileSaver.js/#syntax
2018-10-08 10:20:13 -07:00
Kalley Powell
54685bf955 [is-hotkey] Adds support for multiple hot keys per 0.1.3 (#29422) 2018-10-08 10:14:45 -07:00
neborke
fdc13ea32d Adding processSectionDelay to Hub (#29443)
* Adding processSectionDelay to Hub

* adding test for added parameter
2018-10-08 10:12:21 -07:00
James Ah Yong
71a3debca4 [auth0-lock] add Auth0LockConstructorOptions.allowAutocomplete (#29486)
* add Auth0LockConstructorOptions.allowAutocomplete

* allowPasswordAutocomplete, flashMessage, scrollGlobalMessagesIntoView

* update tests
2018-10-08 10:11:25 -07:00
MrBigDog2U
ba0690aad3 Add resolves this to sinon stub (#29487)
* Add support for resolvesThis() to the SinonStub definition

* Whitespace complaints with lint
2018-10-08 10:09:14 -07:00
Elizabeth Samuel
e605f0b1d1 office-runtime: Update project name (#29491) 2018-10-08 10:08:20 -07:00
Elizabeth Samuel
e329393de3 office-js-update-project-name (#29490) 2018-10-08 10:08:10 -07:00
Jonathan Cardoso Machado
05c905227b allow GraphQLNonNull usage with and without new (#29492)
* allow GraphQLNonNull usage with and without new

* use GraphQLNullableType instead of T on generics of GraphQLNonNull

* fix code-style and add fixes for GraphQLList

4 spaces instead of 2
use `export` instead of `declare`

* add JCMais as definition author
2018-10-08 10:07:51 -07:00
Dmitry Radkovskiy
d6950287e2 web3: fixes for web3.eth.accounts types and methods, added missing methods (#29495)
* web3: removed `publicKey` field from Account

* web3: split sign/signTransaction return values to specific interfaces

* web3: `Account.publicKey` removal regression test

* web3: Account.sign & Account.signTransaction regression tests

* web3: fixed typo in web3.eth.accounts.encrypt and added regression test

* web3: added sign(), signTransaction() and encrypt() methods on `Account`

* web3: make linter happy
2018-10-08 10:07:01 -07:00
ShekharNain
61a1219980 Adding types for passport-azure-ad strategy (#29496)
* Added types for passport azure ad strategy

* New line added at eof in index.d.ts

* Typescript version fixed
2018-10-08 10:06:36 -07:00
Rafael
6f05b6429b Update Multer gridfs storage api to version 3 (#29498)
* Update multer-grdfs-storage definitions to version 3

* Update tests in older version to reflect changes in mongodb3 api
2018-10-08 09:32:34 -07:00
Victor Nogueira
2934e2c7b1 Declare that Role model extends PersistedModel (#29499) 2018-10-08 09:31:47 -07:00
BamButz
f03bd00508 Creating new definitions for "md5-file" (#29505) 2018-10-08 09:31:15 -07:00
Chris Cowan
a9d806263a Fix wu.enumerate() definition error in 'wu' package (#29511)
* Fix wu.enumerate definition bug.

* Fix several methods returning Iterable<...> instead of WuIterable<...>
2018-10-08 09:20:45 -07:00
Yuto Otaguro
8bb6ac0a18 [a11y-dialog] Create new definitions (#29509)
* Create d.ts file for a11y-dialog.

* Finish up implementation for a11y-dialog.

* Construct unit tests for a11y-dialog.

* added missing create functions.

* tslint successfully passes for a11y-dialog

* Split out constructor for best practices

* none of the duplicates were getters / setters
2018-10-08 09:20:05 -07:00
Waseem Dahman
973ba79f9b [jest] Restore SpyInstance interface (#29508)
* Restore SpyInstance interface

* spyOn → SpyInstance
2018-10-08 09:19:17 -07:00
Jake Richards
d8ca2bf318 Adding types for react-window-size (#29507) 2018-10-08 09:17:54 -07:00