Alexander T and Nathan Shively-Sanders
dbd07f931e
vfile-message: Provides its own types ( #39667 )
...
* vfile-message: Provides its own types
* fix vfile-message version
* remove vfile
2019-11-07 09:29:42 -08:00
Adam Kwiatek and Nathan Shively-Sanders
756751f416
protractor-http-mock 0.10.0 ( #40051 )
...
* Allow registering mixed types of mocks.
* Allow registering mixed types of plugins.
* Update the configuration type.
* Update request operation types.
* Be more specific in plugins' match() signature.
2019-11-07 09:28:10 -08:00
Resi Respati and Nathan Shively-Sanders
5b30992fd5
[next] Add statusCode to err object in NextContext ( #40204 )
...
Maintenance fix for `next@^8.0.0`.
2019-11-07 09:26:05 -08:00
Jessica Franco and GitHub
b59a18caf3
[styled-components] Update for TypeScript 3.7 ( #40209 )
...
Converts self-referential interfaces to recursive types to work around https://github.com/microsoft/TypeScript/issues/34796
Now that the types _really_ had to be updated for a new version,
there's no longer any reason to keep compatibility definitions for old
versions of TypeScript around, so removed the ones that were already
marked as such. This fixes the types for the as= property.
2019-11-07 20:24:54 +09:00
Janic Duplessis and Eloy Durán
82240e5032
[react-relay] Handle all variations of nullability and arrays for useFragment ( #40167 )
...
* [react-relay] Handle all variations of nullability and arrays for `useFragment`
The previous implementation did not detect nullability properly and also missed handling 2 cases for arrays (`[X]!` and `[X!]`).
To do this we always use the `TKey` generic parameter which should be the exact type of `XFragment_foo$key`. Nullability is determined by the type of the `fragmentRef` parameter (the fragment type doesn't actually encode nullability anyway). For arrays the key type will already be an array so we have to handle then slightly differently. We have one overload for each possible combinaison of nullability (2 for regular fields, 4 for arrays).
- Type `ReturnType` is the non-nullable type for a regular field key. Nullability is added on usage.
- Type `NonNullableArrayReturnType` is the non-nullable array type for an array field key. Nullability of the **field** is added on usage.
- Type `NullableArrayReturnType` is the nullable array type for an array field key. Nullability of the **field** is added on usage.
Tested all 6 possible combinaisons of array / nullability with `useFragment<XFragment_foo$key>(...)` and validated that the ts type returned matched the nullability / and whether it's an array of the schema.
* Fix array types
* Add tests, fix nullable array types
* Simplify test key type
* Remove support for array of nullable elements
* Fix lint in example
2019-11-07 12:20:10 +01:00
Elizabeth Samuel and Nathan Shively-Sanders
8a31a2fe9e
[office-js] [office-js-preview] (Outlook) getSelectedDataAsync returns empty string not null ( #40199 )
2019-11-06 16:06:27 -08:00
BehindTheMath and Nathan Shively-Sanders
c140acb6c8
[lodash] Fix stubTrue for TS v3.1+ ( #40110 )
...
* [lodash] Fix stubTrue for TS v3.1+
Adds files that were left out of 2ce5aac that are used for TS v3.1+.
* Fix errors
2019-11-06 16:05:44 -08:00
Alexander T and Nathan Shively-Sanders
7936f4d588
react-json-pretty: Provides its own types ( #39512 )
2019-11-06 14:01:38 -08:00
Alexander T and Nathan Shively-Sanders
d402dab6cc
react-native-swipe-gestures: Provides its own types ( #39524 )
2019-11-06 14:00:35 -08:00
Alexander T and Nathan Shively-Sanders
99316224d5
react-native-fs: Provides its own types ( #39516 )
2019-11-06 13:36:01 -08:00
Alexander T and Nathan Shively-Sanders
8a3533061f
vfile: Provides its own types ( #39562 )
2019-11-06 13:06:23 -08:00
Rob Richard and Eloy Durán
1a728ad315
Update RelayStoreTypes.d.ts ( #40190 )
2019-11-06 20:13:24 +01:00
Alexander T and Nathan Shively-Sanders
969ec6e4e1
expect: Provides its own types ( #39618 )
...
* expect: Provides its own types
* add dependencies
2019-11-06 09:40:37 -08:00
Adam Bouqdib and Nathan Shively-Sanders
170468ec3f
[redux-form] add submitAsSideEffect prop ( #40077 )
2019-11-06 09:33:12 -08:00
Mark Weaver and Nathan Shively-Sanders
3422b2b9e7
add typings for @fluent/bundle, @fluent/dedent, @fluent/langneg and @fluent/react (v2) ( #40179 )
...
* added types for @fluent packages
* fixes for removed code
* prettier changes
* fix test failures
* fixes from code review + looking at packaged module
* prettier
* remove refs to unused files, fix bundle tests
* prettier
* fix typo
* fix dedent
* undo package.json change
2019-11-06 09:27:46 -08:00
Alexander T and Nathan Shively-Sanders
b484f60b10
theming: Provides its own types ( #39555 )
2019-11-06 09:06:51 -08:00
Alexander T and Nathan Shively-Sanders
961d142370
jss: Provides its own types ( #39582 )
2019-11-06 09:05:52 -08:00
Alexander T and Nathan Shively-Sanders
9f38342240
bootstrap-table: Provides its own types ( #39647 )
2019-11-06 09:03:57 -08:00
Mohamed Boughaba and Nathan Shively-Sanders
63c76e1060
(feat): add sharedworker options ( #40069 )
...
package: sharedworker
in addition to the url string, sharedworker constructor takes as an argument a name string or an options object.
reference: https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker/SharedWorker
2019-11-06 09:03:39 -08:00
Alexander T and Nathan Shively-Sanders
bbc89b4aba
ansi-colors: Provides its own types ( #39661 )
2019-11-06 09:02:28 -08:00
Alexander T and Nathan Shively-Sanders
f87cb13f0f
angular-dynamic-locale: Provides its own types ( #39662 )
2019-11-06 09:02:08 -08:00
ExE Boss and Nathan Shively-Sanders
918e71e7ab
fix(define‑properties): Improve map parameter type ( #40174 )
2019-11-06 08:58:27 -08:00
Nicolas Djambazian and Nathan Shively-Sanders
fdc7466539
Add className props to react-scrollspy core component ( #40157 )
2019-11-06 08:56:58 -08:00
zjgreen and Nathan Shively-Sanders
fdca4a7a53
solr-client: Add searchAsync to Client interface ( #40143 )
...
* solr-client: Add searchAsync to Client interface
* Updated searchAsync return value to object
* Fixed whitespace
2019-11-06 08:56:33 -08:00
Elizabeth Samuel and Nathan Shively-Sanders
4652a68fc0
[office-js] [office-js-preview] (Outlook) Add APIs missing from MessageRead ( #40169 )
2019-11-06 08:55:53 -08:00
Alexander T and Nathan Shively-Sanders
41b6c9f318
use-dark-mode: Provides its own types ( #39558 )
2019-11-06 08:55:13 -08:00
Aankhen and Nathan Shively-Sanders
99afb9e022
Update Roarr types to allow function argument to `child'. ( #40162 )
2019-11-06 08:54:22 -08:00
Arron Woods and Nathan Shively-Sanders
f8d0292859
proxy.ws error callback parameter ( #40123 )
2019-11-06 08:53:51 -08:00
Alex Senko and Nathan Shively-Sanders
0f6fe4cfcc
recharts: added customized component ( #40067 )
2019-11-06 08:53:22 -08:00
lflavius and Nathan Shively-Sanders
54d956368c
Corrected interface HandleFailureOptions ( #40177 )
...
It should be "retries" and not "retires".
2019-11-06 08:52:41 -08:00
schadenfreude2030 and Nathan Shively-Sanders
c60546c2df
Update jspdf/index.d.ts ( #40180 )
...
Change the type of the argument `headers`of the method `table` from a string array to an object array (with specific properties).
See: https://github.com/MrRio/jsPDF/issues/2223
2019-11-06 08:52:09 -08:00
garyking and Nathan Shively-Sanders
05926a90ea
website-scraper: Make Source.attr optional. Add more options. ( #40137 )
...
* Make `attr` optional.
As per the defaults:
https://github.com/website-scraper/node-website-scraper/blob/050cdd011231033477264df9f432a7925927575f/lib/config/defaults.js
* Capitalize interface `Scrape`
* Use `any[]` format for array
* add missing semicolon
* add line breaks between interfaces
* convert to single quotes
* remove `attr` for a test
* add more options
2019-11-06 08:51:35 -08:00
Henrique Cunha Fonseca Torquato and Nathan Shively-Sanders
2861611bb2
Add type definitions for blip-sdk ( #40076 )
...
* Added type definition for blip-sdk
* - Removed non used test file reference;
- Fixed lint rule errors.
2019-11-06 08:45:40 -08:00
Asher Nguyen and Nathan Shively-Sanders
b32b82843f
New version for swiper5.x - URGENT ( #40178 )
...
* upgrade new version for Swiper 5.x
* updated path config
* fixed bug
2019-11-06 08:42:27 -08:00
James Cockshull and Nathan Shively-Sanders
2517cbd46b
[react-dom] Fix typo in renderToString doc comment ( #40182 )
2019-11-06 08:22:13 -08:00
Alexander T and Nathan Shively-Sanders
bd1fd915ad
react-native-keychain: Provides its own types ( #39517 )
2019-11-06 08:07:44 -08:00
C.J. Winslow and Nathan Shively-Sanders
bdb0d39904
[prompts] Update types to account for new override function ( #40136 )
...
* [prompts] Update types to account for new override function
* Update validate and suggest signatures
2019-11-05 16:32:36 -08:00
Samuel Elliott and Nathan Shively-Sanders
57b69d5690
[node-persist] Update for v3.0 ( #39949 )
...
* [node-persist] Update for v3.0
* [node-persist] Fix required forEach callback
* [node-persist] Add default instance
* [node-persist] Lint
2019-11-05 16:06:16 -08:00
2f36fd1758
[google-map-react]: add libraries and region parameters to BootstrapURLKeys ( #38797 )
...
* [google-map-react]: add `libraries` parameter to `BootstrapURLKeys`
* Update types/google-map-react/index.d.ts
Co-Authored-By: Andros Rosa Llop <andros.rosa@gmail.com >
* Update types/google-map-react/google-map-react-tests.tsx
Co-Authored-By: Andros Rosa Llop <andros.rosa@gmail.com >
2019-11-05 15:47:00 -08:00
glenna and Nathan Shively-Sanders
d460416ac9
Fix: rox-react-native fetch type ( #40150 )
...
* Update rox-react-native types
* add contributor name
2019-11-05 14:51:15 -08:00
Yujeong Noh and Nathan Shively-Sanders
0e49146071
Update @types/mui-datatables filterType and add customFilterListRender function type ( #40149 )
...
* Update mui-datatable MUIDataTableColumnOptions and update downloadOptions in MUIDataTableOptions
* Update filterType in MUIDataTableOptions
* Modify FilterType and wrong applied lint
2019-11-05 14:49:51 -08:00
Aaron Beall and Nathan Shively-Sanders
f4a5f50bd9
Angular translate filter overload ( #40129 )
...
* Added missing $filter overload
Added missing $filter overload that allows multiple strings to translate and returns an object
* Updated test
2019-11-05 14:49:11 -08:00
Hanna Becker and Nathan Shively-Sanders
57a96850d4
[spotify-web-playback-sdk] Extend Image interface with width and height properties ( #40120 )
...
* [spotify-web-playback-sdk] Extend Image interface with width and height properties
* [spotify-web-playback-sdk] Extend Image interface with width and height properties, implement review suggestion
2019-11-05 14:48:23 -08:00
Advay Mengle (at Holvonix LLC) and Nathan Shively-Sanders
408c37f3e3
[square-connect] fix: batchRetrieveOrders and createOrder takes locationId ( #40144 )
...
See https://github.com/square/connect-nodejs-sdk/blob/2.20190814.0/src/api/OrdersApi.js
2019-11-05 14:37:49 -08:00
Akuukis and Nathan Shively-Sanders
9d77e825ee
fix(object-types): add quoteStyle option ( #40116 )
2019-11-05 14:37:21 -08:00
Jon Surrell and Nathan Shively-Sanders
14d3adc549
@wordpress/block-editor Add className prop to BlockList ( #40127 )
...
* Add className prop to block-list component
See source:
https://github.com/WordPress/gutenberg/blob/61753df6a89c7be467c09a91c7ff18410e5685cf/packages/block-editor/src/components/block-list/index.js#L194-L213
* Add BlockList className test
* Add authorship
2019-11-05 14:35:00 -08:00
Adam Kwiatek and Nathan Shively-Sanders
7bbdbdd6a8
[lightpick] Lightpick 1.4.5 ( #40168 )
...
* Amended option `parentEl`.
* Added options `onSelectStart` and `onSelectEnd`.
2019-11-05 14:33:47 -08:00
Justin Hall and Nathan Shively-Sanders
878c0c0dcc
fix(theme-ui): fix Theme UI color mode definition ( #40109 )
...
Also removed unused SSColors type (which was not exported).
BREAKING CHANGE: ColorModes is now ColorMode as it represents a single mode.
2019-11-05 14:05:29 -08:00
David Goss and Nathan Shively-Sanders
0b54fd9eee
cucumber: add missing props to ScenarioResult and StepDefinition ( #40102 )
...
* add optional `exception` to HookScenarioResult
* add optional unwrappedCode prop to StepDefinition
* update cucumber-js version in header
2019-11-05 14:04:50 -08:00
Claus Stilborg and Nathan Shively-Sanders
8f92920eb8
Types stripe update invoice ( #40113 )
...
* Turn off strict-export-declare-modifiers
We are using declare, so this rule is just a pain
* Update the IInvoice interface, fix some bugs
* Remove linter test to make tsc work
That kind of testing for error with linting, will break typescript compilation.
And that seems counter intuitive given the nature of this project.
* Run prettier on tests as well
* Run prettier on tslint.json
* Run prettier
2019-11-05 14:04:01 -08:00