Commit Graph

67002 Commits

Author SHA1 Message Date
Jesus Abarca
c842f6ed49 [slonik] memberType in sql.array can be a string or another sql tagged template (#40445) 2019-11-22 08:37:32 -08:00
Nathan Totten
c86f688b14 Updated prettier version (#40589)
The last PR didn't increment the version.
2019-11-22 08:36:54 -08:00
Yaroslav Serhieiev
dfdfc84670 [react] add translate prop to HTMLAttributes (#40211) 2019-11-22 08:35:33 -08:00
Nathan Rajlich
4e575afb73 [@types/blessed] Allow additional properties for IOptions interface (#40547)
* [@types/blessed] Allow additional properties for `IOptions` interface

This change allows for arbitrary properties to be stored
onto the options object of `Node` instances. This is useful
for extra metadata to be stored onto a node and is accessible
on the `node.options` property.

For example, the `blessed-css` module utilizes the additional
properties `id` and `className` for matching CSS selectors:

```typescript
const bg = blessed.box({
    parent: screen,
    id: 'bg'
});
```

* Add test

* Add to authors
2019-11-22 08:34:19 -08:00
Thiago Perrotta
8b1def9e99 Add login_hint typing to gapi.auth2. (#40535)
Context Docs:
- https://developers.google.com/identity/protocols/OpenIDConnect?hl=en#authenticationuriparameters
- https://stackoverflow.com/questions/52490476/which-methods-of-google-oauth2-api-accept-login-hint-as-a-parameter
2019-11-22 08:33:07 -08:00
Mike Deverell
554158f334 [ramda] split tests to separate modules: 'not' - 'pickBy' (#40543)
* re-remove 'move' and 'none' tests from ramda-tests.ts

* move 'not' tests to separate file

* move 'nth' tests to separate file

* move 'nthArg' tests to separate file

* move 'objOf' tests to separate file

* move 'of' tests to separate file

* move 'over' tests to separate file

* move 'pair' tests to separate file

* move 'partial' tests to separate file

* move 'partialRight' tests to separate file

* move 'partition' tests to separate file

* move 'path' tests to separate file

* move 'pathEq' tests to separate file

* move 'pathOr' tests to separate file

* move 'omit' tests to separate file

* move 'once' tests to separate file

* move 'or' tests to separate file

* move 'o' tests to separate file

* move 'pathSatisfies' tests to separate file

* move 'pick' tests to separate file

* move 'pickAll' tests to separate file

* move 'pickBy' tests to separate file
2019-11-22 08:29:22 -08:00
Aseel Al Dallal
5204fcfeeb Stripe: Add Types for Review Object (#40570)
* typing for reviews

* codeowner

* run lint
2019-11-22 08:28:14 -08:00
Aseel Al Dallal
0d10d141e7 Stripe: Add Type for FileLinks (#40567)
* add name

* add file links

* add name

* run tslint

* temp test

* test

* fileLink test

* retrieve tests

* breaking test

* addnow

* bug fix

* complete tests

* fix formatting

* lint
2019-11-22 07:49:04 -08:00
Walter Kennedy IV
c2bce82d9f Update types/react-datepicker to include boolean ShowQuarterYearPicker (#40538) 2019-11-22 07:48:17 -08:00
Sam
55c5a62d37 (react-image-gallery):added renderThumbInner def to ReactImageGalleryProps (#40559)
* (react-image-gallery):added renderThumbInner def to ReactImageGalleryProps

* (react-image-gallery):matched renderThumbInner def to renderItem def
2019-11-22 07:47:31 -08:00
Simon de Lang
c0e76f846e [jasmine] Support Jasmine 3.5 (#40568)
* [jasmine] Add EnvConfiguration.failSpecWithNoExpectations property

* [jasmine] Add jasmine.addAsyncMatchers

* [jasmine] Add jasmine.setDefaultSpyStrategy

* [jasmine] Add propertyNames parameter to jasmine.createSpyObj

* [jasmine] Add jasmine.toBeInstanceOf matcher

* [jasmine] Add jasmine.toBeTrue and jasmine.toBeFalse matchers

* [jasmine] Update ts 3.1 types

* [jasmine] fix linting issues

* [jasmine] add EnvConfiguration.promise function

* [jasmine] format tests and remove obsolete test

* [jasmine] add toBeRejectedWithError AsyncMatcher

* [jasmine] fix toBeRejectedWithError type

* [jasmine] fix function formatting

* [jasmine] fix test name
2019-11-22 07:47:01 -08:00
Alexandru Savin
c5687bab45 [@types/node-fetch] Fix FetchError class definition (#40581)
* Fix FetchError class definition

* Add myself to "Definitions by" section of package header
2019-11-22 07:46:28 -08:00
Martin Andert
eaf62c8120 [react-relay] Improve nullability handling of pagination hooks (#40579)
* Fix nullabily of usePaginationFragment to match that of useFragment

* usePaginationFragmanet: add test for the non-null case

* Fix nullabily of useBlockingPaginationFragment to match that of usePaginationFragment
2019-11-22 07:45:23 -08:00
Oleh Dokuka
4d7955b2e9 Provides Aligning of RSocket-xxx definitions with the latest RSocket-JS release (#40580)
* provides alignment with the latest RSocket-JS

* provides alignment with the latest RSocket-JS

Signed-off-by: Oleh Dokuka <shadowgun@i.ua>
2019-11-22 07:44:23 -08:00
Jon Surrell
e75038b564 @wordpress/components Popover: Add onFocusOutside (#40585)
* Add Popover Props['onFocusOutside']

- Package version 8.2
- Deprecate onClickOutside
- Add a few props type tests

* Revert formatting changes

* Improve callback signature

* Simplify
2019-11-22 07:43:12 -08:00
Kenneth Aasan
85e29d5a71 newrelic distributed tracing Transaction handle methods (#40550)
* Adds newrelic distributed tracing Transaction handle methods

* Adds newrelic distributed tracing Transaction handle methods
2019-11-22 07:41:35 -08:00
Nathan Shively-Sanders
6f4c34b258 Fix bad types/v* references in tests (#40575)
* Stop relying on old versions of dependencies

gulp-connect *apparently* works with gulp 3 or 4, but the examples on
the homepage are written for gulp 3. I updated them minimally to work
with gulp 4 -- its types at least.

auth0.widget depends on auth0-js which now uses modules. I switched to
import types and updated the type names.

* require 2.9 for auth0.widget
2019-11-21 16:05:37 -08:00
Nathan Shively-Sanders
3e7b3d096d auth0.widget: fix reference to auth0-js (#40562)
It would like to reference v7, but it does so with a triple slash
reference:

```ts
/// <reference types="auth0-js/v7" />
```

This reference doesn't work in the shipped version of auth0.widget.
The full fix for this is to all package.json references to
`@types/auth0-js@7`, but this isn't needed to fix this particular
problem because just referring to the current version works fine:

```ts
/// <reference types="auth0-js" />
```
2019-11-21 09:03:36 -08:00
balzdur
4d73a0845a Update index.d.ts (#40553) 2019-11-21 10:39:16 -05:00
Robert Chmielowiec
187904d73c Add query parameter to updateIssue method (#40555)
https://jira-node.github.io/class/src/jira.js~JiraApi.html#instance-method-updateIssue
2019-11-21 09:32:26 -05:00
Nathan Shively-Sanders
fdeac13eba Remove relative types="../react" reference in react-howler (#40541)
* Remove relative types="../react" reference in react-howler

* remove triple-slash references entirely
2019-11-20 15:55:31 -08:00
Daniel Del Core
82d8ebd2c3 fix(final-form-focus): Pass fromvalues to Decorator (#40521) 2019-11-20 15:07:48 -08:00
Akhil Stanislavose
170f1475a0 [react-linkify] Export namespace to expose props type defs (#40371)
* Export namespace to expose props type defs

It would be nice to expose the props type definition which would allow users to extend the original component.

* Update version to 1.0.0-alpha

Seems like the interface haven't changed at all with the bump to 1.0.0-alpha

* Fix lint errros

* Remove the ReactLinkify namespace
2019-11-20 15:05:44 -08:00
Krishna Glick
daa264d814 Update setPrivacySettings place in interface (#40534)
* Update setPrivacySettings place in interface

I placed this in the wrong spot in the git editor.
My bad.

* Adding a test for the functionality

* newline at end of file
2019-11-20 14:58:21 -08:00
James Garbutt
e8eab36fda sinon: strongly type accessors (#40536) 2019-11-20 14:57:58 -08:00
David Sherret
dc262e7cf8 Add types for ts-nameof 4.2 (#40517) 2019-11-20 12:37:18 -08:00
Kyle Halleman
93b2407cb6 fix(mark.js): add second param to each for markRange (#40427)
* fix: add second param to `each` in `MarkOptions`

* fix: separate MarkRangesOptions similar to MarkRegExOptions
2019-11-20 12:35:48 -08:00
Chad Burt
593b226eac [@types/geobuf] Add typings for geobuf project (#40532)
* Add types for geobuf

https://github.com/mapbox/geobuf

* Remove patch version from header
2019-11-20 12:34:45 -08:00
Florian Keller
b82c575b67 [binary-parse-stream] Add package binary-parse-stream (#40530) 2019-11-20 12:29:07 -08:00
Konrad Ossowski
64e9e4730e [@types/semantic-ui-dropdown] Added missing property 'values' in 'DropdownSettings' in global.d.ts (#40384)
* Update global.d.ts

Added missing property 'values' in DropdownSettings.
Documentation:
https://semantic-ui.com/modules/dropdown.html#/settings

* removed trailing whitespace

* removed trailing whitespaces
2019-11-20 12:05:39 -08:00
Láďa Durchánek
3f56bcc4f0 Stripe: Update ITier (#40388)
* Update type for IProductCreationOptions

* Use minor version instead of patch

* Stripe: Update plan and plan creation options

- https://stripe.com/docs/api/plans/object
- https://stripe.com/docs/api/plans/create

* Version bump

* Stripe: Update ITier for optional and additional fields

https://stripe.com/docs/api/plans/object?lang=node#plan_object-tiers

* Add 'inf' as a tier up_to option
2019-11-20 12:05:16 -08:00
Bjorgvin Baehrenz Thordarson
57922c65b9 Update to support version 1.0 of react-slider (#40413)
* update to support 1.0 version of react-slider

* adding comments from the source is a nice touch

* setting esModuleInterop to false
2019-11-20 12:03:15 -08:00
Joey Rafidi
60d30134bc Fix minor issues in AnalyticalGraphicsInc/cesium typings (#40425) 2019-11-20 12:00:45 -08:00
taoqf
cbfa47176a weixin-app: fix types (#40522)
* wxapp: add FileSystemManager

* fix: add interface

* uppercase interface name

* add types react-native-audio

* add types for baidumap

* lint

* add doc header non-npm package

* add types: react-native-easy-upgrade

* fix: options

* fix

* react-native-easy-update: add typescript version

* 🐛 weixin-app: fix return types of chooseImage
2019-11-20 11:55:10 -08:00
Andy Baudoin
2b670a4ae6 [react-geosuggest]: add missing ignoreEnter property (#40508) 2019-11-20 11:51:44 -08:00
Kun Yan
eb5dae98df feat(react-lazylog): Add more fields for react-lazylog 4.4.1 (#40520)
* feat(react-lazylog): add more fields in Lazylog

* feat(react-lazylog): Add SearchBar

* Update LazyLog.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* (react-lazylog): text should be optional

* fix(react-lazylog): remove patch version of react-lazylog
2019-11-20 11:51:14 -08:00
Leo Farias
31bb520ddb Updated types for authorizeUrl method (#40518) 2019-11-20 11:50:28 -08:00
JaceHensley
a6dd1a8042 Make the config options all optional on the ReactQueryConfigProvider (#40514) 2019-11-20 11:40:44 -08:00
Ashley Abbott
531f8b9c14 Implement bunyan-format as both callable and newable (#40473)
* Updating type with tslint hint and tests to be verbose

Signed-off-by: Ashley Abbott <ashpabb@gmail.com>

* Redundant declare and required newlines

Signed-off-by: Ashley Abbott <ashpabb@gmail.com>
2019-11-20 11:40:00 -08:00
Mike
fc04e45d78 added funnel & funnelarea types; added false to layout.dragmode (#40512) 2019-11-20 11:32:58 -08:00
Krishna Glick
2e1dac3d64 Add definition for setPrivacySetting (#40510)
* Add definition for setPrivacySetting

The docs for this addition to gpt can be found here: https://support.google.com/admanager/answer/9598414
Unfortunately the official documentation has not caught up, see here: https://developers.google.com/doubleclick-gpt/reference#googletag.PubAdsService
There doesn't seem to be anything else it takes besides that, based on the above documentation.

* Contribution Addition
2019-11-20 11:32:38 -08:00
Prateek Kathal
df17b3bea8 Theme-UI: Added useCustomProperties for old browsers support (#40529)
* Added useCustomProperties for old browsers support

* Added definition author

* Made useCustomProperties optional

* Removed trailing whitespaces
2019-11-20 11:32:08 -08:00
T Allen Studios
d59a83ea12 [@types/multimap] Add types for multimap NPM package (#40506)
* added multimap type

* removed added dependency to package.json

* added newline back to bottom of package.json

* addressing linter errors

* addressing linter errors

* addressing linter errors

* replaced new-able const with class declaration

* Multimap class now implements Multimap interface

* declaration file changes
2019-11-20 11:19:18 -08:00
Nathan Shively-Sanders
b638a27a77 wordpress__dom: update for DOM updates in typescript@next (#40526)
* wordpress__dom: update for DOM updates in typescript@next

* re-add old type, Node
2019-11-20 08:51:31 -08:00
Simon Schick
c4317350aa feat(puppeteer): 2.0 (#40284)
* feat(puppeteer): 2.0

* fixup! feat(puppeteer): 2.0
2019-11-19 15:55:31 -08:00
Filipe Ferreira
c31e519f1b Added typing for string-placeholder (#40373)
* Added typing for string-placeholder

* Fixed linting

* Added readonly to arrays

* Change typescript version

* Fixed types definition

* Code review comments

* Removed clean as array type

* Fix export

* Fix export
2019-11-19 15:54:45 -08:00
Nathan McGinn
3ceab7a9a2 [@types/vault-auth-aws] Add types for vault-auth-aws NPM packa… (#40509)
* add vault-auth-aws

* fix interface
2019-11-19 15:53:55 -08:00
Colin Ulin
f7da07be7b Generics and typed attributes for Parse.Object and sub classes (#40429)
* parse: generics and typed attributes for Parse.Object and sub classes

* parse: Fix dt-header tslint rule
2019-11-19 15:52:46 -08:00
Nicholas Latham
4311598e93 react-window-infinite-loader: Allow returning null in loadMore… (#40402) 2019-11-19 15:51:31 -08:00
ssddi456
13894c24ab add yog-ral (#40410)
* add yog-ral

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update tslint.json

* Update tslint.json

* Update yog-ral-tests.ts

* Update yog-ral-tests.ts
2019-11-19 15:50:32 -08:00