Commit Graph

62860 Commits

Author SHA1 Message Date
Domino987
8eb2a4b791 Add toImageButtonOptions to config (#36144)
* Add toImageButtonOptions to config

This enables the user to customize the download as image button.

* Fix to partial

* Update index.d.ts

* Update index.d.ts
2019-06-12 12:51:44 -07:00
Steve Faulkner
49e9bf98b3 node-fetch: allow agent to accept a function returning Agent (#36057)
* Allow Agent to accept a function

* Fix types

* string -> URL

* Update index.d.ts
2019-06-12 12:50:35 -07:00
Raúl Acuña
17717b3957 [Stripe] Add 'customer' to upcoming invoice options (#36028)
* Add customer to upcoming invoice options

* Bump described version
2019-06-12 12:45:56 -07:00
Fernando Chen
050efa3951 Fix imgStyle typing (#36055) 2019-06-12 12:10:26 -07:00
Josiah
4adcbedff3 Add customer fields to invoice object for Stripe (#36130) 2019-06-12 12:08:15 -07:00
James Garbutt
9d26e2f044 sinon: resolve any in worst case (#36119)
* sinon: resolve any in worst case

* add sinon test
2019-06-12 12:07:15 -07:00
Oleg Vaskevich
6e43367819 Add support for pay_immediately=false when creating Stripe subscriptions (#36129) 2019-06-12 11:54:46 -07:00
Dave
eb04955276 [victory] Updated VictoryArea to have a labels prop (#36147)
See: https://formidable.com/open-source/victory/docs/victory-area#labels
2019-06-12 11:53:28 -07:00
Muthurathinam
8be2237ba3 Creating types for Microsoft Graph Models (#35804)
* Add types for Microsoft graph models

* Set noImplicitAny to true

* Adding tests for types

* Added more test for types

* Removed unnecessary import

* Remove unnecessary headers from types file

* Fixing linting error in test file

* Removed overwritten linting rules and fixed linted errors
2019-06-12 10:58:09 -07:00
Jonathan Ziller
689624361b react-redux: add types for hooks which will be added in version 7.1 (#34913)
* react-redux: add types for hooks which will be added in version 7.1

* react-redux: fix linting error due to redundant type declaration in JSDoc comment

* react-redux: convert action creator return type to any in useActions and useRedux

* react-redux: fix linting errors

* react-redux: fix mistake in `useActions` hook example code

* react-redux: add proper type annotations in hooks example code comments

* react-redux: support thunks in `useActions`, `useDispatch`, and `useRedux`; add tests for hooks; bump TypeScript required version to 3.1 (implemented by @threehams)

* react-redux: remove obsolete comment

* react-redux: adjust thunk array handling to work with TypeScript 3.0

* react-redux: Remove useRedux hook

With the release of react-redux@7.1.0-alpha.3, `useRedux` has been
removed, so removing it from the types.

* update typings for latest react-redux hooks API changes + add overload for `useDispatch` that allows customizing the type of the returned dispatch function

* react-redux: add equalityFn argument to useSelector

* react-redux: add newly exported shallowEqual function; add tests for shallowEqual and equalityFn parameter of useSelector

* react-redux: add interface that allows to easily create a typed useSelector hook
2019-06-12 14:57:39 +01:00
Mike Martin
b9a3cd09c7 Adding animating to ProgressBarAndroid (#36128) 2019-06-12 14:19:58 +02:00
hlovdal
bf029eae71 [leaflet-mouse-position] Add new wrapLng option (#35915)
* Add new wrapLng options value

https://github.com/danwild/Leaflet.MousePosition/pull/1

* Update Definitions by

* Add new formatter options value

https://github.com/danwild/Leaflet.MousePosition/pull/2
2019-06-12 00:00:28 -07:00
Moxi Zhou
683aaa657b Add missing cesium types (#36013) 2019-06-11 20:41:58 -07:00
Jace McPherson
7e4f7be66a Fixes optional/missing parameters for Google Tasks API. (#36012)
"parent" is a required field on CreateTaskRequests (see the docs, for example the Quickstart guide at https://github.com/googleapis/nodejs-tasks)

Not all of the properties on AppEngineHttpRequest are required, also observable from the quickstart like mentioned above.
2019-06-11 20:39:07 -07:00
Agu Valeriani
6b4ddd0d5d Add draft-convert type definitions. (#36109)
* -updated ts config.

* -Added draft-convert typings with test.

* -Better typing for entity found and applied.
2019-06-11 17:27:01 -07:00
Ben
4d7cd124b6 Add types for vanilla-masker (#36126) 2019-06-11 17:08:56 -07:00
Airex
8bc13c7029 Vis. Fix DataGroup mappings for nestedGroups, added visible and showNested to DataGroup as described in vis.js documentation (#35965)
* Add support of subgroupStack on DataGroup

* Update index.d.ts

* Update index.d.ts

Added new SubGroupStackOptions dynamic structure and updated type of DataGroup.subgroupStack to SubGroupStackOptions | boolean

* Update index.d.ts

codestyling

* Update index.d.ts

codestyling colon

* Fix DataGroup mappings for nestedGroups, added visible and showNested to DataGroup as described in vis.js documentation

* DataGroup test

* fix redundant line break
2019-06-11 16:23:26 -07:00
Colin Cheng
58a60415a0 Fix(fluent): fix errors type in bundle format arguemnt (#36015)
* Fix(fluent): fix errors type in bundle format arguemnt

* Fix ci test failure
2019-06-11 16:22:00 -07:00
Artur Diniz Adam
5788e4e16c object-hash updated to v1.3.1 (#36071)
* Drop hashtable impl from object-hash as of v1.0

* Adding writeToStream method in object-hash

* Addin missing options in object-hash

* Bumping version and "Definitions by" headers
2019-06-11 14:38:14 -07:00
Kevin Wang
26fec8242e Add :disabled pseudoclass to Style interface. (#35979)
The property is missing.  See: https://github.com/stripe/react-stripe-elements/issues/250 

The property is documented here: https://stripe.com/docs/stripe-js/reference#element-options
2019-06-11 14:35:58 -07:00
stuartthomson
4084c37e80 Add to NetworkInspectInfo: (#36120)
* IPAM
* Containers
* Options
* Label
2019-06-11 13:35:03 -07:00
shiznit013
8028f3b113 yup - Fix WhenOptions "is" prop constrained to boolean (#36040)
* WhenOptions enhancements

* fix no-any-union

* fix no-trailing-whitespace

* fix tests, remove redundant types
2019-06-11 13:17:10 -07:00
FUJI Goro
055195fdfd commonmark: add "softbreak" option to HtmlRenderer (#36101) 2019-06-11 12:17:04 -07:00
Marc-Antoine Ouimet
d12324cc22 [node] Allow setting encoding for Dirent readdir (#36092)
* Allow setting encoding for Dirent readdir

* Update promisified version of readdir
2019-06-11 12:09:08 -07:00
Anders Hejlsberg
fa812c285d
Update Ember tests to treat 'string & number' and 'never' the same (#36095)
* Update tests to treat 'string & number' and 'never' the same

* Remove $ExpectType since both 'string & number' or 'never' are ok
2019-06-11 09:32:01 -07:00
Danilo Bürger
a8ab3f0817 [react-native] SectionList data should be readonly (#36107) 2019-06-11 12:24:51 +02:00
Hao Yang
8c15eef1b9 Support 2.6; Add author; Use best practise to refactor code (#36074)
* initial types for agora-rtc-sdk

* set strictFunctionTypes to true

* fixed lint-related

* fixed lint error throw by ci

* <feat> support 2.6 & add author

* <fix> fix umd support

add `export` back to support umd

* <chore> in temp disable rule: export-just-namespace, optimization will be done in next version
2019-06-11 02:02:17 -07:00
Dmitri Dimitrioglo
64fb247206 Update Square connect type definitions (v20190508) + improvements (#36067)
* Add Square dev as a reviewer + add ApiClient, EmployeesApi and InventoryApi definitions

* Update Square connect type definitions (v20190508)

* Fix ENUM naming (to be as in swagger)
2019-06-11 01:59:43 -07:00
Andy Hopper
e94ce0261e Corrected amazon-connect-streams Agent::onMuteToggle and tests. (#36065)
* Added amazon-connect-streams from v1.3

* Updated Project header to URL for Amazon Connect Streams

* Set strictNullChecks to 'true'

* Corrected amazon-connect-streams onMuteToggle callback object.
2019-06-10 22:06:33 -07:00
Daniel Byrne
23bfb7e136 Update KeyPair.getPublic overloads (#36098)
Had some bad overload definitions get through without me realizing.
2019-06-10 21:55:45 -07:00
Ole André Vadla Ravnås
fc5a3acff8 Add type definitions for frida-gum (#35911)
* Add type definitions for frida-gum

Consumed through frida-compile, e.g. like this:

    https://github.com/oleavr/frida-agent-example

* Delete redundant declare keywords
2019-06-10 18:31:05 -07:00
Jake Runzer
d689e2b616 babel__traverse: allow undefined scope for both traverse functions (#35840) 2019-06-10 18:30:45 -07:00
MHA15
50578128bb [core-js] change Dict interface for strictNullChecks mode (#35889)
* change Dict interface for strictNullChecks mode

Dict<T>['any string'] will be valued to type `T | undefined`

* change Dict methods for stricktNullChecks

* Update index.d.ts
2019-06-10 18:27:53 -07:00
Michael Mitchell
5e79e209ec [next-nprogress] Add definitions (#35880)
* [next-nprogress] new definitions

* [next-nprogress] remove package.json

* [next-nprogress] lint

* fix(next-nprogress): move generic to returned function

* tests(next-nprogress): add test for props infer
2019-06-10 18:27:22 -07:00
Han-byeol Jeon
937582ebc2 [@types/slate] Command and Query methods accept function types (#34867) (#36068)
* command and query methods accept function types (#34867)

* make query using function return the same result

* remove type declarations
2019-06-10 12:58:15 -07:00
Vitaliy Markitanov
ced5418600 Update index.d.ts (#36035)
Reason for change is described here:
https://github.com/scottie1984/swagger-ui-express/issues/27#issuecomment-499983791
2019-06-10 12:41:08 -07:00
Ludvig
1bcc829993 Change Plugin to extend Plugin interface from slate-core (#35899) 2019-06-10 12:27:37 -07:00
Wang Dàpéng
f2b3fda2a2 [ioredis] Fix stream function return types (#35959)
* Fix ioredis stream types

* Add missing semicolon
2019-06-10 12:26:15 -07:00
Yariv Brosh
89b6a79182 @types.jsforce - Added an import that solves compilation error (#36077)
* Added an import that prevents compilation

* Added required dependencies by this package

* tslint fixes
2019-06-10 11:56:27 -07:00
ytetsuro
55089e1742 add removeEventListener method. (#35963)
see: https://developers.google.com/youtube/iframe_api_reference?hl=en#removeEventListener
2019-06-10 11:24:16 -07:00
Asdullah Siddique
ce4af3f21c mongoose: model.discriminator() to accept both document and model interface (#35944) 2019-06-10 11:21:58 -07:00
David Uzumeri
17c13903b0 Added jsum package (#36009)
* Added `jsum` package

* Removing namespace declaration
2019-06-10 10:17:46 -07:00
Shawn Mitchell
e92e72f419 [mui-datatables] Add types for string literal unions (#35972)
* Resolve merge conflicts

* Update test to specify proper selectableRows value

`selectableRows` takes a string literal union of `'none' | 'single' | 'multiple'` defined in type `SelectableRows`
2019-06-10 10:15:12 -07:00
Maurice de Beijer
271c20d6f4 Support Yup nullable derived types (#35789)
* Derive nullable() as T | null

* Allow operators in different order

* Definitions by

* Expected type checks

* Updates after feedback

* Added boolean extends
2019-06-10 10:13:15 -07:00
Justin Nauman
3eb966a761 [coinbase] Update Account.getTransactions (#36010)
* [coinbase] Update Account.getTransactions

This is to update the signature of `Account.getTransactions` to match that which is present in the module.

https://github.com/coinbase/coinbase-node/blob/master/lib/model/Account.js#L98 for relevant JS code.

* [coinbase] Additional nested fixes

- The coinbase client only "unwraps" the `data` attribute
in certain circumstances.  This addresses issues I was seeing
while attempting to leverage some of the other resource
2019-06-10 10:12:28 -07:00
TypeScript Bot
ea2b8bd4a6 Update CODEOWNERS (#36064) 2019-06-10 09:16:49 -07:00
Lindsay Wardell
8d217f3687 Added missing types in express-http-proxy (#36001)
* Added missing types in express-http-proxy

* Fixed comparison

* Fixed typo in name
2019-06-07 18:51:22 -07:00
Ludvig
f294b49f63 Add next & previous to Rules interface (#35900) 2019-06-07 18:41:26 -07:00
Cameron Knight
d311e1d311 implemented types for death v1.1.0 (#36029) 2019-06-07 18:38:35 -07:00
Dario Blanco
bfb6b8fb61 Add types for backstopjs 4.1 (#36022) 2019-06-07 18:37:14 -07:00