Commit Graph
64461 Commits
Author SHA1 Message Date
Ahmed Mokhtar 9ea7f6359d fix: to prop mustn't be undefined in LinkProps (#38456) 2019-09-18 10:13:18 -07:00
Dale Whinham 70e84e03dd [@types/matter-js] Fix bounds min/max properties (#38423) 2019-09-18 10:12:28 -07:00
ExE Boss c6e737fc03 fix(node‑fetch): fetch(…) supports URL‑like objects (#38457) 2019-09-18 10:11:52 -07:00
Shikanime Deva 37bdf019f4 [sketchapp] Aggregate type updates (#38436)
* chore: update types

* chore: add typescript version
2019-09-18 10:10:43 -07:00
r1b 028523c9cb backo2: expose properties, improve docs (#38451) 2019-09-18 10:07:06 -07:00
Jeow Li Huan acb3cb292b [final-form-focus] Add Typescript definitions. (#38200) 2019-09-17 15:04:16 -04:00
Chris Drackett 2ef13b1431 Update mapkit types to 5.18 (#37960)
* update apple-mapkit-js types to 5.18

also add docs/comments

* apple mapkit is not on NPM

* fixing tests

* Update index.d.ts

* Update tslint.json

* Update tslint.json

* revert removal of rules so checks pass.
2019-09-17 14:58:55 -04:00
Joseph Thibeault f7495cf1da add setAgent method annotations for dialogflow v2 (#38288)
* add setAgent method annotations for dialogflow v2

* add string union types and set agent overload

* use string union types instead of enums for ApiVersion and Tier
* add method overload for calling setAgent with callback only and no options object

* add method overloads; add missing delete method

* adds method overloads to agents client for passing the callback as second arg
* add missing deleteAgent method
* add missing projectPath method
* add missing matchProjectFromProjectName method

* add double quotes; add tslint avoid-escape to enforce

* remote double quote enforcement
2019-09-17 14:40:21 -04:00
Taylor Herron 9140de406d [ssh2-sftp-client] Update for release 4.1 (latest) (#38415) 2019-09-17 13:43:20 -04:00
Terence Honles e6b219b686 fix @types/googlemaps uses of MapTypeId | string (#38204)
MapTypeId as of #38084 is defined as a string enum, but all uses of
MapTypeId were accidentally left as ``MapTypeId | string`` which looses
type information.

I updated returns to be strictly MapTypeId, but input still seems to need
to be ``MapTypeId | string`` because the TypeScript compiler seems to not
recognize that a string with the proper value is a MapTypeId without
casting it as such. Changing this would break all consumers and does not
seem to make sense to do.
2019-09-17 13:42:20 -04:00
Daniel Ni d2e36a1eb2 Update VictoryLabelProps style type definition (#38262)
* run prettier on victory directory

* update VictoryLabelProps style type definition
2019-09-17 13:40:12 -04:00
Chiciuc Nicușor 76adc132f5 In the '@types/meteor' package, allow passing a string as value for the $unset modifier. (#38438)
* Allow passing a string as value for the `$unset` modifier.

* Add name to the list of authors.
2019-09-17 13:38:00 -04:00
Trevor Croxson 85854b9bdb @types/react-map-gl: Update GeolocateControl typing with style attribute (#38417) 2019-09-17 13:36:46 -04:00
Karol MajewskiandOliver Joseph Ash 37d97cd78f [react-router] Fix #38271 (withRouter fails with ComponentType starting in 3.6.2) (#38326)
* Make withRouter compatible with ComponentType

Fixes #38271.

* Add new baselines

Co-authored-by: Oliver Joseph Ash <oliverjash@gmail.com>
2019-09-17 13:33:06 -04:00
Laurin Quast de340a4c4f feat(relay-compiler): version 6 support (#38430) 2019-09-17 13:27:37 -04:00
Saeed Tabrizi a458ceb59f Update index.d.ts (#38389)
Update Orientjs New Api to support latest orientjs v3.0.6
2019-09-17 13:26:39 -04:00
Sebastian Silbermann bcff64de55 test(react): Remove usage of React.Attributes (#38352)
Only includes `key` with which you'll never deal
in props validation
2019-09-17 07:12:49 -04:00
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