Commit Graph
64444 Commits
Author SHA1 Message Date
theWorkFsz dd4a93f39b feat(echarts): add types for echarts (#38144)
* feat(echarts): add types for echarts

+ lineStyle.color can be an string[]
https://echarts.apache.org/zh/option.html#yAxis.splitLine.lineStyle.color

+ cartesianAxis.min/max can be a function
https://echarts.apache.org/zh/option.html#yAxis.min

* docs(echarts): change reference link

* docs(echarts): fix yAxis.max reference link

* style(echarts): add space before `number`
2019-09-17 07:04:40 -04:00
Jonatan Magnusson 808267e6e8 Make Chai PropertyChange argument 'property' optional (#38405)
Chai allows passing a single argument to its increase,
decrease and change tests:

```ts
let y;
expect(() => { y += 1 }).to.increase(() => y);
```

The type definitions of PropertyChange, used by the three
tests mentionds, did not allow passing a single argument.
2019-09-17 06:56:14 -04:00
Andrew Coates bf75bcd274 Just run prettier (#38427) 2019-09-17 11:37:58 +02:00
Basti Buck 239f52df4b @testing-library/cypress - update types to match 5.0.0 (#38368)
* update types to match 5.0.0

* also remove deprecatation from 4.0.0
2019-09-16 18:11:39 -04:00
Andrew Lisowski 72c07c7005 storyboook addon knobs select: correct types for an array (#38316)
* Update select types

* add test

* fix tests
2019-09-16 18:05:24 -04:00
Christopher Scott Hernandez 31913491d8 [filesize] Add support for localeOptions option, v4.2.0 (#38309)
Related to: https://github.com/avoidwork/filesize.js/pull/102

Updates the `Options` type to allow for an optional `localeOptions` object to be passed in. `NumberFormatOptions` is [provided by typescript](https://github.com/Microsoft/TypeScript/blob/master/src/lib/es5.d.ts#L4060).
2019-09-16 17:55:55 -04:00
Jack McCrackenandOrta 1cc27c6a7d [koa-generic-session] Add a sameSite attribute to SessionOptions (#38422)
* Add a sameSite attribute to SessionOptions in koa-generic-session

* Update types/koa-generic-session/index.d.ts

Co-Authored-By: Orta <orta.therox+github@gmail.com>
2019-09-16 17:53:31 -04:00
Pierre-Antoine Mills b15f295909 [ramda] allow arrays to be non-readonly (#38255)
* allow arrays to be non-readonly

* update ts-toolbelt

* fix array types

* fix array types

* fix array types
2019-09-16 17:27:42 -04:00
Kalley Powell 11c137c4c1 [yup] Fix locale object conditionals (#38240)
* [yup] Fix locale object conditionals

* Explicit locale objects and just use those where message is defined
2019-09-16 17:06:38 -04:00
Joe Flateau 22bfab5a86 add 'liveui' as a possible option (#38330) 2019-09-16 17:00:50 -04:00
Andrew Luca 827ad4c674 feat(redux-api-middleware): split Dispatch call definitions (#38325) 2019-09-16 16:55:58 -04:00
Alex Jerabek e28fb5e023 Updating with latest CDN copy (#38313) 2019-09-16 16:54:18 -04:00
Antoine RousseauandHaroen Viaene 382ef5eeb7 [@types/algoliasearch] add IndexSettings.paginationLimitedTo (#38339)
* add paginationLimitedTo to IndexSettings

* fix tests and add paginationLimitedTo to them

* Add doc URL

Co-Authored-By: Haroen Viaene <fingebimus@me.com>
2019-09-16 16:49:54 -04:00
Dmitri Dimitrioglo 5c7df7fb19 [IMPROVEMENTS] Add MobileAuthorizationApi, LocationsApi, LaborApi + Fix InventoryApi, CustomersApi, CheckoutApi and CatalogApi (#38359) 2019-09-16 16:47:54 -04:00
Simon Schick d0aeee5ef2 feat(@hapi/bell): update to v11 (#38394) 2019-09-16 16:22:55 -04:00
Kyle Albert 57da206834 [@types/carbon-components-react] Fix UIShell Link props. Fix HeaderMenuLink prop optionality. (#38416)
* Fix Link type.

* Fix Link type.

* MenuLinkName is technically optional... impl is a bit strange.

* UI Shell link change.

* Improve tests.

* Lint fix.
2019-09-16 16:20:52 -04:00
Richard Scotten 24a4aee497 fixed places type errors for @types/algoliasearch (#38407)
* fixed some type errors for algolia places

* added myself to authors list in header

* updated version and repository path in the header
2019-09-16 16:19:25 -04:00
Florian Keller 186746206f Add types for validate-npm-package-name (#38332) 2019-09-16 12:35:55 -07:00
Jim Geurts 8cbb7979c9 [librato-node] Add types for librato-node (#38286)
* Add types for librato-node

* Explicit options based on simulate value
2019-09-16 12:35:21 -07:00
Mohsen Azimi f47f8eeea9 Add types for react-with-styles (#38335)
* Add typings for react-with-styles

* Add typings for react-with-styles

* Add typings for react-with-styles

* fix header

* Fix issues
2019-09-16 12:32:59 -07:00
Jan 9156059301 Lazy property (#38379)
* [lazy-property] added type definitions

* [lazy-property] fixed tests and lint
2019-09-16 12:29:55 -07:00
Remko 1c82c17ce1 Add missing "every" field to JobInformation (#38377) 2019-09-16 11:10:01 -07:00
Rizki Romadhoni 5890afc4a8 [@types/lazy.js] SequenceBaser<T>.sum returns a number (#38398) 2019-09-16 11:06:52 -07:00
Kyle Sletten 2acfcc2764 Correct allowedAttributes type (#38370)
Correct the allowedAttribute to match https://www.npmjs.com/package/sanitize-html#what-if-i-want-to-allow-only-specific-values-on-some-attributes
2019-09-16 11:06:34 -07:00
Gensen Choy 2581ebe5f0 Update index.d.ts (#38396)
- Fix PlaceDetailsResult.vicinity being a decimal instead of string
- Move weekday_text from PlaceDetailsResult.opening_hours.periods.weekday_text to PlaceDetailsResult.opening_hours.weekday_text
2019-09-16 11:06:08 -07:00
Fabien O'Carroll e3a3f18d94 [cookies] Fix Cookies.set signature for omittingvalue (#38400)
* [cookies] Added breaking test for Cookies.set

* [cookies] Fix Cookies.set sig for omitting `value`

When omitting the `value` parameter the signature assumes you have omitted the `opts` parameter and causes an error
because the types don't match
2019-09-16 11:05:21 -07:00
Ross Harrison 569992f619 Seamless Immutable: Add Optional Arguments to Array Map Callback (#38226) 2019-09-16 11:04:39 -07:00
Enzo Volkmann f574f4aa13 Added type definitions for "ineum" (#38275)
* Added type definitions for "ineum"

ineum is the global object used by the Instana Website Monitoring API (https://docs.instana.io/products/website_monitoring/api/) to collect different kinds of information from websites/apps.

* Added tests and fixed header lint issue

* Fixed test file and added minimum TS version

* Merged definitions with same signature, added dummy version number

* Made userName and userEmail optional

* Removed unnecessary type reference
2019-09-13 08:51:07 -07:00
martin 9c9f822b82 [relay-runtime] augment NormalizationSelection (#38351)
* augment ReaderSelection

* augment NormalizationSelection

* test for ConcreteRequest

* fix linter issues
2019-09-13 17:28:30 +02:00
Krystal Siler 93c2892f33 [react-native] update accessibilityActions and onAccessibilityAction (#38310)
* update accessibilityActions and onAccessibilityAction

* Move accessibilityViewIsModal under AccessibilityPropsIOS
2019-09-13 13:12:33 +02:00
Adam Pluciński 37ff22c40d [jstree] added missing settings, lint fixes (#38161) 2019-09-12 12:48:02 -07:00
Mike Deverell c08e6d8f68 [ramda] split tests to separate modules - functions beginning with 'd' - 'e' (#38274)
* move 'countBy' tests to separate file

* move 'curry' tests to separate file

* move 'dec' tests to separate file

* move 'defaultTo' tests to separate file

* move 'difference' tests to separate file

* move 'differenceWith' tests to separate file

* move 'dissoc' tests to separate file

* move 'dissocPath' tests to separate file

* move 'drop' tests to separate file

* move 'dropLast' tests to separate file

* move 'divide' tests to separate file

* move 'dropLastWhile' tests to separate file

* move 'dropRepeats' tests to separate file

* move 'dropRepeatsWith' tests to separate file

* move 'either' tests to separate file

* move 'empty' tests to separate file

* move 'endsWith' tests to separate file

* move 'dropWhile' tests to separate file

* move 'eqBy' tests to separate file

* move 'eqProps' tests to separate file

* move 'equals' tests to separate file

* move 'evolve' tests to separate file
2019-09-12 12:47:19 -07:00
Samuel Bodin 21cf492e4f [@types/algoliasearch] Add proper types for ApiKey (#38158)
* [@types/algoliasearch] add proper types for ApiKey

* lint

* lint

* revert some prettier changes
2019-09-12 09:03:08 -07:00
Yuri Sulyma 5a51040804 [codemirror] Narrow types for getOption,setOption,on,off. Add "div" to CoordsMode. (#38045)
* Narrower typing for getOption and setOption

* Add "div" to CoordsMode (not documented in manual, but present in source code)

* Move catchall on/off below ones with explicit names so that handler arguments get correct typing

* Narrow type of event parameter for DOMEvent handler

* Fix string type accidentally left unnarrowed
2019-09-11 18:02:36 -07:00
Florian Keller 84260786e7 [nock] Remove types (#38121) 2019-09-11 16:07:59 -07:00
Florian Keller 37f050d65d Add types for npm-cache-filename (#37866) 2019-09-11 11:14:37 -07:00
Daniel Hritzkiv 2ab45d486e [node-geocoder] Allow for discrimination on options for specific geocoder providers (#38133)
* Allow for discrimination on options for specific geocoder providers

This allows for clearer identification of which options are required for which provider, including which parameters are mandatory. I only covered the most distinct providers (here, ism, odf, agol, smartystreets, google) as the others are more generic

This also adds the `production` option used in HERE

* Remove patch from version
2019-09-11 07:32:33 -07:00
dominikeinkemmer 1c9bb251d1 update typings for newest cache-manager version (#37824)
* fix: update typings for newest cache-manager version

fix: update typings for newest cache-manager version

* update StoreConfig
2019-09-11 07:26:36 -07:00
Arkadiusz Babiarz 8fd7686963 Fix type for hls.js audio track (#38241) 2019-09-11 07:16:33 -07:00
Arne Schubert fc2b1b6d16 Create a type definition for npm module ssdeep (#38264) 2019-09-11 07:14:30 -07:00
Mathieu Ghennassia 0043edad70 Add paginationOffset, childProcessOptions, and httpCookies in CreateO… (#38123)
* Add paginationOffset, childProcessOptions, and httpCookies in CreateOptions

* Update version
2019-09-11 07:12:11 -07:00
Christian Stornowski cfa587388d Adjusted vue-scrollto definition for vue-scrollto version 2.15 (#37666)
* Adjusted vue-scrollto definition for vue-scrollto version 2.15

* Removed an empty line to start broken build

* Added an empty line to start broken build

* Fixed linter issues

* Aligned VueScrollTo definition with other vue plugins definitions
2019-09-11 07:10:48 -07:00
Andy Mepham d0bf79fca4 Fixes #37859 (#38135)
Removed static keyword from H.mapevents.Pointer
2019-09-11 07:05:35 -07:00
Svyatoslav Bychkov 665debb666 [passport-jwt] Fix return type of jwt extractor (#38071)
* [passport-jwt] Fix return type of jwt extractor

* Add author according to contribution guidlines
2019-09-11 06:48:29 -07:00
engabesi 523a5a7d36 [@types/react-navigation-material-bottom-tabs]Added history and order to backBehavior type (#37904)
* Added history to backBehavior type

* add order
2019-09-11 06:47:10 -07:00
Brian Donovan 21a4e96871 fix typo (#38252)
"shouldn't" is a contraction of "should not" and therefore should have an apostrophe.
2019-09-11 06:46:41 -07:00
Laurens Lamberts c8fd725af2 Update index.d.ts (#37923)
Added two properties to the type definition. These are specified in the documentation and do have effect on fullscreen presentation, but are missing in the types
2019-09-11 06:45:34 -07:00
yamagen0915 c6f98efdf7 Add the viewColumns option to the MUIDataTableColumnOptions (#38292) 2019-09-11 06:39:45 -07:00
Filipe Pires 5a1c6ca627 [@types/react-native-vector-icons] Add Fontisto (#38283)
* Add Fontisto

* Add fontisto to files

* Add test w/ fontisto
2019-09-11 06:37:22 -07:00
martin 675cedf450 augment ReaderSelection (#38284) 2019-09-11 12:55:35 +02:00