Commit Graph
65013 Commits
Author SHA1 Message Date
trode 3cdc2eb4d8 Missing montage method (#39109)
* Missing montage method

* add test for montage

* Update gm-tests.ts
2019-10-15 11:29:15 -07:00
Gabriel Montes 3a0b11664a Fix async.constant return type (#38876)
The return type is not just a Function, it is an AsyncFunction as specified in the docs:

https://github.com/caolan/async/blob/v3.1.0/lib/constant.js#L13

This will prevent incorrect TS errors to show up.
2019-10-15 10:39:02 -07:00
Jørgen Vatle ba3797e984 Add type definitions for features added between Dinero.js v1.4 and v1.6. (#38856)
* Accept promises in ExchangeRatesApiOptions' endpoint property.

* Accept promises in ExchangeRatesApiOptions' endpoint property.

https://github.com/sarahdayan/dinero.js/releases/tag/v1.6.0

* Update dinero.js version.

* Add toJson() alias to Dinero.

https://github.com/sarahdayan/dinero.js/releases/tag/v1.5.0

* Correct code formatting.

* Assert that promises can be used in Dinero globalExchangeRatesApi.

* Assert that the Dinero toJson() alias returns a Dinero object.
2019-10-15 10:09:43 -07:00
Erik Krogh Kristensen 5d1074409c Fixing confusion with the new and constructor keywords. (#38997)
* remove non-existing constructor method from Array in Ember

* removed method named "new" and added a constructor to the Collaborator class in google-drive-realtime

* made LocalizedObservable into the class that it actually is in Knockout

* removed a method named "constructor" and replaced it with a constructor in microsoft-ajax

* removed a method called "new" and replaced it with a constructor in microsoft-ajax

* autoformat

* made QueryCursor into the class it actually is in mongoose

* made Connection into a class

* made QueryStream and QueryCursor into a classes

* removed two methods called "new" and replaced them with constructors

* change EventSubscriptionVendor into a class

* removed class only used internally Route (it had a wrongly declared method named "constructor")

* removed non-existing method named "constructor" in rx-angular

* made StackFrame into a class

* made StreamMeter into a class

* removed a method named "new" and replaced it with a constructor
2019-10-15 10:07:05 -07:00
Anwar Gul 225c60cb41 Update index.d.ts (#39138)
fixed typo "indead" to "instead" 
TYPO:
 /**
     * @deprecated Use animationType indead
 */
Fixed:
 /**
     * @deprecated Use animationType instead
     */
2019-10-15 15:23:22 +02:00
Matthew Peveler 6bd457dec0 [@types/wav] adds typings for wav (#39065)
* wip

* [@types/wav] add type definitions for wav
2019-10-14 16:59:42 -07:00
Gerhard Stöbich bb43717ca3 [CI] use NodeJS 10 instead 8 for travis CI (#38946) 2019-10-14 16:54:12 -07:00
Chris e72d59512c Add typings for rate-limit-redis (#39036)
* Add typings for rate-limit-redis

* Limit rate-limit-redis to TS 2.3 b/c of express-rate-limit requirement

* Bump rate-limit-redis to TS 2.7
2019-10-14 16:47:14 -07:00
ryanc16 dc02437227 adding leaflet-groupedlayercontrol types (#39044)
* adding leaflet-groupedlayercontrol types

* Adding typescript version information to index.d.ts file.

* Updating formatting in types

* Adding dom to libs in tsconfig

* Updating formatting issues in index.d.ts file
2019-10-14 16:39:46 -07:00
Robin van Wijngaarden 7c2c4a1a3f [react-lazyload] Updated types (#39002)
* Updated types for @types/react-lazyload

The prop `preventLoading` was introduced [here](https://github.com/twobin/react-lazyload/pull/243) and can be found back in `master` and the README of twobin/react-lazyload:
https://github.com/twobin/react-lazyload#preventloading

* Synchronize order of props with PropTypes from src

* Bump version

Exclude patch version
2019-10-14 16:35:02 -07:00
Oscar Busk 82b9c3b417 remove image-size types from DefinitelyTyped (#39004)
https://github.com/image-size/image-size/releases/tag/v0.8.0
2019-10-14 16:33:41 -07:00
thislooksfun b10c2d608c [selenium-webdriver] Update missing definitions (#38986)
* Update firefox.d.ts to 4.0.0-alpha.5

Selenium-webdriver@4.0.0-alpha.5 has a different API from what is currently defined here. This commit moves them back (mostly) in sync.

* Let Prettier reformat

* Update version number

* Revert "Update version number"

This reverts commit a1c69c4f6a5046d2a1ceab78e3536e6e39b14205.
2019-10-14 16:32:25 -07:00
Aleksey Chemakin 7e7335f867 Added setBrowserName and setBrowserVersions Capabilities methods description for selenium-webdriver module. (#38978) 2019-10-14 16:06:26 -07:00
Marty Alcala f293f702e8 rename FileUpload to File (#39089) 2019-10-14 15:53:34 -07:00
Mirone 3a53a5299b [ramda] add d.ts for ramda o function (#38963)
* add d.ts for ramda o function

* fix tslint

* fix tslint

* add my name

* fix for the last reload
2019-10-14 15:52:04 -07:00
Adrian Olek c8250e11e0 Make passport-http-bearer options optional (#38933)
* Make passport-http-bearer parameters optional

As the options are not required when creating the strategy instance:
https://github.com/jaredhanson/passport-http-bearer/blob/43cd6a065836d02a6337539300b23ca89253cfa5/lib/strategy.js#L67
we shouldn't enforce them in the type definition.

* Add test
2019-10-14 15:28:28 -07:00
Monroe Ekilah aaedbff9bb ramda: Add support for mapObjIndexed and string union key types (#38421) 2019-10-14 14:54:37 -07:00
Kai 2bcead7bfc Fix for aria-label ToggleSmall of carbon-components-react (#39011)
* Change ariaLabel of ToggleSmall Carbon react component from to Kebab Case to be consistent with implementation https://github.com/carbon-design-system/carbon/blob/master/packages/react/src/components/ToggleSmall/ToggleSmall.js#L121

* Change ariaLabel of ToggleSmall Carbon react component from lower case aria-label
2019-10-14 14:20:01 -07:00
Sebastian Silbermann 508404cac2 chore(react): Clarify React.Attributes (#38748) 2019-10-14 14:05:17 -07:00
Dan Manastireanu e9ace4a64f [@types/cytoscape] Fix return type of eles.boundingBox. Closes #39080 (#39091) 2019-10-14 13:48:19 -07:00
Alex Jerabek 58d5effb66 Excel release (#39119) 2019-10-14 13:47:09 -07:00
Huy Nguyen a207a20fb1 Update type definitions for react-svg-pan-zoom v3 (#39085) 2019-10-14 13:44:56 -07:00
Sebastian Silbermann f73f0bf459 feat(testing-library__dom): Add isInaccessible (#39076)
* feat(testing-library__dom): Add isInaccessible

* Fix docs link

* Update types/testing-library__dom/testing-library__dom-tests.ts
2019-10-14 13:43:34 -07:00
Teodor Tanasoaia 42b40353c9 update GUIController (#39073) 2019-10-14 13:41:32 -07:00
Diamond Lewis fc7f93c8b1 [@types/parse] BeforeLogin Trigger (#39072)
https://github.com/parse-community/parse-server/blob/master/src/cloud-code/Parse.Cloud.js#L152
2019-10-14 13:40:10 -07:00
Haroen Viaene 01e6bf7cfe algoliasearch: add enableABTest (#39057)
fixes https://github.com/algolia/algoliasearch-client-javascript/issues/792
2019-10-14 13:35:16 -07:00
thislooksfun 324f9567a7 Add tlf-log (#38990)
* Add tlf-log

* Add trailing newline

* Remove 'export-just-namespace'

* Fix 'export-just-namespace' error

* Fix 'strict-export-declare-modifiers' errors
2019-10-14 13:34:21 -07:00
CoolCyberBrain 4cd43f3de9 [@types/express-session] Fix incorrect type for Session.all(callback) (#38783)
* Fix incorrect type for Session.all(callback)

* Update index.d.ts

* Made optional functions optional
2019-10-14 13:33:17 -07:00
Erik Krogh Kristensen fba5930a98 Fixing unreachable method overloads (#39000)
* remove unreachable overload reflect in bluebird

* remove duplicate of method toggleDisabled

* remove duplicate of mehtod hsl

* remove wrong overload of getType in ContentBlock

* remove duplicate of getActiveFiles

* remove duplicate of isMounted

* remove duplicate of distinct

* flip the other of the flatten overloads in highland to make both overloads useable

* removed 3 duplicate methods

* flip the order of two overloads in Lodash such that both overloads can be used

* remove superfluous overload that made the more general overload unreachable

* remove second useless overload a bunch of times

* remove a bunch of duplicate methods

* refactored the authenticate method such that both overloads can be used

* remove duplcate overload

* removed a bunch of superfluous method overloads

* removed invalid duplicate method overload

* remove duplicate method overload

* change passport-local-mongoose to use TypeScript 3.0 to handle unknown type in dependency

* revert change to Lodash.fromPairs

* made formatting match the old formatting
2019-10-14 13:14:09 -07:00
Cina Saffary 2d75b571cf [react-router] add string[] to matchPath and useRouteMatch arg types (#39037) 2019-10-14 13:03:38 -07:00
Dasa Paddock b18bc628f8 Update for ArcGIS API for JavaScript version 4.13 (#39042) 2019-10-14 13:02:17 -07:00
Dasa Paddock c80f263f65 Update for ArcGIS API for JavaScript version 3.30 (#39041) 2019-10-14 13:01:14 -07:00
Jeremy Monson 4fb73c4a77 @types/webpack-manifest-plugin: Update Types for version 2.1 (#38988)
* Update generate function to accept entrypoints.

* Update test file

* Fix error for Array<T> type

* update code-owners.

* Revert CodeOwners Change
2019-10-14 12:53:31 -07:00
Jason Di Benedetto 2250810353 feat(@types/emoji-js) create types (#39026) 2019-10-14 12:51:47 -07:00
PSR-0E9H 122f665640 Add types for ranjs (#38868)
* add types for ranjs

* do not disable tslint rules

* export ranjs as namespace
2019-10-14 12:50:06 -07:00
Maxime LUCE 62cf51a6f2 Add node-easy-cert typings (#38877)
* Add node-easy-cert typings

* Fix requested reviews
2019-10-14 12:48:44 -07:00
Vítězslav Ackermann Ferko 4b598f5dc9 react-loadable fix webpack/node.js compatibility (#39033)
* Update index.d.ts

According to  webpack types
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/f58986ca20210f8e6612942db077b9228740a315/types/webpack-env/index.d.ts#L44

this returns array of strings in node.js and array of numbers in webpack.

* Update index.d.ts

use Array for non simple types
2019-10-14 12:07:14 -07:00
Retsam 47659c6960 [webpack-env] Add overload for require.ensure that omits the errorCallback (#39046) 2019-10-14 12:05:22 -07:00
Nick Bartlett 855c080456 📝 typo fix referening -> referencing (#39061) 2019-10-14 12:03:59 -07:00
Ahmad Ilaiwi 155e904680 [@types/rebass] update SxProp definition (#39054)
* [@types/rebass] update SxProp definition

`SxProp` should accept `SystemStyleObject` or `rebass` definition of `sx`

* [rebass] update rebass tests
2019-10-14 12:03:02 -07:00
Gokul 24e1bf9c9d Updates payment intent parameters (#38923)
* [Gokul] updates parameters for payment intents

* [Gokul] fixes lint issues

* [Gokul] refactors to accomodate stripe generated cancellation reasons
2019-10-14 12:01:48 -07:00
Thomas Bruun b648878245 [stripe] Add missing properties on StripeError (#39016)
* Remove seemingly unintentional property on StripeError

It looks like this was supposed to contain a property name after the readonly keywork, bu instead StripeError now has a property named readonly.

* Add missing properties to StripeError

All properties except statusCode were added in version 7.10.0: https://github.com/stripe/stripe-node/pull/699

* Update stripe version number
2019-10-14 10:54:12 -07:00
Seve Salazar e5f27c9255 [@types/ember__routing] Add support for Route.render w/ defaults (no args) (#38790) 2019-10-14 10:51:13 -07:00
Cotton Hou d8e3ffcb09 [ramda] remove R.isArrayLike (#39084) 2019-10-14 10:49:23 -07:00
Kyle Kaniecki 90eb4f593a Fixed Fabric Object animation function to include correct parameters (#39069)
* fixed object animate function to include correct parameters

* credit

* guess not since you can't use gitlab urls

* updated fabric version number

* only allow major and minor patch

* fixed some inaccurate documentation and added properties interface to parameter
2019-10-14 10:48:10 -07:00
Bryan Huang c2e9725e3d Upgrade to Viewer v7.2 (#39074)
* Upgrade to Viewer v7.2

Release notes: https://forge.autodesk.com/blog/viewer-release-notes-v-72

* Upgrade to Viewer v7.4

Release notes: https://forge.autodesk.com/blog/viewer-release-notes-v-74
2019-10-14 10:46:30 -07:00
Cotton Hou 101423c2a1 [ramda] remove R.wrap (#39099) 2019-10-14 10:43:58 -07:00
Thierry Régagnon 335e7a9225 [@types/chrome] Add recent Privacy settings (#39112)
* Add the Privacy Services added with Chrome 70

* Add name to Contributors list and reformat it

* Add recent Privacy's Network and Websites settings
2019-10-14 10:35:33 -07:00
Liz Chhouk Lorenz 9f0c0c30c8 Update promise.allSettled typing for iterables. (#39066) 2019-10-14 10:31:52 -07:00
Ben Salili-James f216a128a7 [dojo] Use gender-neutral pronouns (#39107) 2019-10-14 09:01:54 -07:00