Commit Graph
40084 Commits
Author SHA1 Message Date
Daniel MilbrandtandMohamed Hegazy 0f3d1dc170 ClusterSetupMasterSettings to ClusterSettings (#22647)
According to official docs the settings for setupMaster settings are just the ClusterSettings.
There is an ClusterSettings interface already but setupMaster function parameters refered to incomplete and unnecessary ClusterSetupMasterSettings. I deleted the ClusterSetupMasterSettings interface and refer to the existing  ClusterSettings which are correct.

https://nodejs.org/docs/latest-v8.x/api/cluster.html#cluster_cluster_setupmaster_settings
2018-01-03 12:19:08 -08:00
Sahbi SahloulandMohamed Hegazy 7c58f05cf4 Allow user to select folders from team drives (#22637) 2018-01-03 12:18:52 -08:00
Ankur OberoiandMohamed Hegazy 9c0b47b45c Update insight for recent changes (#22636)
* Update insight for recent changes

updates the constructor options with `pkg`, which is now preferred over `packageName` and `packageVersion`.
adds `trackEvent()` method

* update insight test
2018-01-03 12:18:05 -08:00
Assaf LavieandMohamed Hegazy 6d020e2e28 Fix ContainerInspectInfo according to Docker REST API documentation. (#22598)
The Ports field is a map of string to _array_ of Ip/Port objects, as you
can see in the docs: https://docs.docker.com/engine/api/v1.32/#operation/ContainerInspect

As a result of this error type checks are not being run. e.g. Doing
`container.inspect().NetworkSettings.Ports['test'][0].BadField` will
compile without error, despite `BadField` to existing in the interface.
2018-01-03 12:02:36 -08:00
AndyandGitHub ab2b520051 Remove chartjs in favor of chart.js (#22442) 2018-01-03 11:54:50 -08:00
Michael ZabkaandMohamed Hegazy 40c2f00579 Export even namespace download in module declaration to allow import module in commonjs module option (#22583) 2018-01-03 11:47:54 -08:00
AskaholicandMohamed Hegazy ddbf07cb69 Fixes #20470 Map.addHandler takes a newable type as second param. (#22577) 2018-01-03 11:47:40 -08:00
Sarun IntaralawanandMohamed Hegazy 634718d6f2 fix(@types/croppie): do not export Croppie as default export (#22574) 2018-01-03 11:47:00 -08:00
FlarnaandAndy d9f51eae65 [node] improve typing of query.parse() (#22171)
* tabs to spaces

* [node] improve typing of query.parse()

* Update according to review:
- Better naming UrlParsedQuery => UrlWithParsedQuery, UrlStringQuery => UrlWithStringQuery
- replace Url type by UrlWithParsedQuery | UrlWithStringQuery

* Re-introduce url.Url as it is used by several other modules.
2018-01-03 11:44:10 -08:00
Kurt PrestonandMohamed Hegazy 52bc966699 [@types/reactstrap] Adding carousel components, removing Tether (#22512)
* Adding full Popper.js definition to Reactstrap

* Reactstrap: Updating Dropdown definitions, removing Tether

* Reactstrap: Adding Carousel components and test
2018-01-03 11:42:29 -08:00
양현석andMohamed Hegazy a61e766794 [@types/luxon] update types (#22463)
* fix types of luxon

* fix Settings

make Settings.defaultZone as readonly,
change expression of Settings.now

* fix static-only classes to namespace

* fix unused lint rules
2018-01-03 11:40:39 -08:00
Nikita GrafovandMohamed Hegazy 9a3fbe89bd [highcharts] Added type for axis labels formatter execution context (#22244) 2018-01-03 11:29:25 -08:00
Romke van der MeulenandMohamed Hegazy c5fe3ac33e [cucumber] deprecate 'typeName' for 'name' (#22406)
See https://github.com/cucumber/cucumber-js/pull/904

Old and new name marked optional to preserve backward-compatibility,
though specifying neither one will produce an error.
2018-01-03 11:26:36 -08:00
Daniel FischerandMohamed Hegazy e2070bba6d [react-infinite-scroller] fix TS2497 (#22247)
* [react-infinite-scroller] fix TS2497

I get this error when importing the module with `import * as InfiniteScroll from 'react-infinite-scroller`:

    Error:(9, 33) TS2497: Module '".../@types/react-infinite-scroller/index"' resolves to a non-module entity and cannot be imported using this construct.

This PR fixes that error by merging the exported class with an empty namespace.

* revert accidental formatting change
2018-01-03 11:25:27 -08:00
FlarnaandMohamed Hegazy d858e8e4a6 [restify] Fix build by removing wrong headers property from Response (#22653) 2018-01-03 11:23:20 -08:00
Shawn ClaboughandMohamed Hegazy dc55760848 Update index.d.ts for Kendo-UI GridColumn definition (#22100)
* Update index.d.ts

Since the command property of a GridColumn can be an array of strings, for example:

{ command: ["edit", "destroy"], title: " ", width: "250px" }

The current definition is

command?: GridColumnCommandItem[];

but it should be

command?: (string|GridColumnCommandItem)[];

* Update index.d.ts for Kendo-UI GridColumn definition

Additional update for command property of GridColumn - following documentation at https://docs.telerik.com/kendo-ui/api/jsp/grid/column-commanditem
2018-01-03 11:22:17 -08:00
Beaker73andMohamed Hegazy 016802d1c4 added missing html5InputTypes option to configuration of knockout.validation (#22050)
* added missing html5InputTypes option to configuration

* Make html5InputTypes optional
2018-01-03 11:20:24 -08:00
Michael MacnairandMohamed Hegazy f7f7d4df0a Improve react-tagsinput definitions (#22069)
* Improve react-tagsinput definitions

Based on https://github.com/samwise-tech/components (MIT licence)

* Fix react-tagsinput 'ref' param
2018-01-03 11:19:55 -08:00
marceloandMohamed Hegazy 5ca3612206 recharts: add missing label definitions to BarProps XAxisProps and YAxisProps (#21916)
* recharts: add some missing label definitions to BarProps XAxisProps and YAxisProps

* doc: Link to the recharts documentation regarding the label property in BarProps, XAxisProps and YAxisProps
2018-01-03 11:12:24 -08:00
Florian TraberandMohamed Hegazy e011a4d755 socket.io-redis: add redis adapter functions (#22553)
* socket.io-redis: add redis adapter functions

* socket.io-redis: add missing clients function
2018-01-03 10:24:04 -08:00
Martynas KadišaandMohamed Hegazy b7ef49109f [@types/expo] Fix missing/incorrect Svg definitions (#22501)
* add correct svg definitions and test them

* use one type of spacing

* use correct semver
2018-01-03 10:23:42 -08:00
Sviataslau ShchaurouskiandMohamed Hegazy e0fae2342d http-proxy package. Fixes option object in http-proxy.d.ts (#22537)
* Adds buffer field in http-proxy.d.ts

* Fixes CI build by adding meaningless comment
2018-01-03 10:16:38 -08:00
zonrandMohamed Hegazy bd57336b49 [velocity-animate] Export a module so it can be used with "import". (#22552)
The following code snippet would work nicely with the fix:

  import * as Velocity from 'velocity-animate';

  Velocity.animate(...);

Otherwise, TypeScript throws the following error:

  TS2307: Cannot find module 'velocity-animate'.
2018-01-03 10:16:15 -08:00
Daniel Perez AlvarezandAndy 87ad3c1bcb Remove @types/adal in favor of @types/adal-angular (#22565) 2018-01-03 10:01:31 -08:00
FishOrBearandMohamed Hegazy 658ddd4d17 add 'Texture' attribute: 'center','rotation' (#22612) 2018-01-03 09:57:52 -08:00
Steve OgnibeneandGitHub c4b2085c70 Merge pull request #22558 from TimonVS/master
Update types for Boom 7.1.1
2018-01-03 12:45:02 -05:00
Eloy DuránandGitHub ce7f114872 Merge pull request #22639 from awinograd/patch-1
[react-native] Add onDismiss prop to Modal
2018-01-03 06:09:42 -05:00
Alec WinogradandGitHub 94ca94802d [react-native] Add onDismiss prop to Modal 2018-01-03 11:33:58 +01:00
Andrew Sun͈̮andMohamed Hegazy 53c6d6aa43 Fix typo in bytebuffer (#22580) 2018-01-03 00:47:38 -08:00
Andrew BradleyandMohamed Hegazy 2b17e92e96 Fixes typo in my username (#22592) 2018-01-03 00:46:35 -08:00
samrg472andMohamed Hegazy 979f91a2e6 Fix typos in calculation functions and add missing function (#22614) 2018-01-03 00:43:32 -08:00
JobandMohamed Hegazy 2495d307b0 cropperjs: add image smoothing options (#22621) 2018-01-03 00:39:48 -08:00
Ankur OberoiandMohamed Hegazy 7ac8a79806 @types/yargs wrap should accept null parameter (#22628)
* @types/yargs wrap should accept null parameter

According to the yargs documentation, `.wrap()` accepts null to mean "no wrapping"

* increase version number for @types/yargs

* reverts deadf8d829904d6e780e64b1963f0c26c66245b2
2018-01-03 00:39:26 -08:00
Erik SchierboomandMohamed Hegazy f5e4a39cb6 cucumber: add status enum (#22635) 2018-01-03 00:35:31 -08:00
Brice BERNARDandMohamed Hegazy 5030f26ef6 [chance] Fix chance.guid() definition (#22468)
* Fix coding style with prettier

* Fix chance.guid() definition

* Bump version

* Simplify tslint.json

* Fix tslint.json
2018-01-03 00:33:01 -08:00
Roman ZaynetdinovandMohamed Hegazy 7abf0dd5d1 Allow settings when opening page in phantom (#22556)
PhantomJS allows passing settings object to configure how page should be opened.
Ref: http://phantomjs.org/api/webpage/method/open.html
2018-01-03 00:30:48 -08:00
Moritz GunzandMohamed Hegazy f668979bf8 Add typings for Spotify Web Playback SDK (Beta) (#22559)
* Add typings for Spotify Web Playback SDK (Beta)

More info at: https://beta.developer.spotify.com/documentation/web-playback-sdk/

* Configure strictFunctionTypes

* Use const instead of let

* Add missing Window event handler

* Convert SpotifyPlayer to class

* Add missing version

* Add missing semicolon

* Fix definitions by header
2018-01-03 00:29:01 -08:00
Bao HuaandMohamed Hegazy abe6d3e1f2 add missing function definition for jweixin (#22550)
* Update index.d.ts

add wx.getLocalImgData definition

* add getLocalImgData definition which was missed

wx.getLocalImgData definition is missed, add it

* fix trailing whitespace
2018-01-03 00:27:39 -08:00
Jacky LamandMohamed Hegazy 15465af289 added two overload typings for cache-manager which return a Promise (#22535)
* added two overload typings for cache-manager which return a Promise

* also add overload method for get,set,del to return a promise

* make extra argument required
2018-01-03 00:24:31 -08:00
josetuttuandMohamed Hegazy 68226e4257 Update index.d.ts (#22615)
Kendo documentation specifies number as configuration for categoryAxis.title.margin 

categoryAxis.title.margin Number |Object (default: 5)
The margin of the title. A numeric value will set all margins.
2018-01-03 00:24:01 -08:00
Tom CrockettandMohamed Hegazy 70272e25c4 [React] Make side effect-only callbacks return void instead of any (#22609) 2018-01-03 00:08:35 -08:00
Joseph Safwat KhellaandMohamed Hegazy c7450fa320 Update index.d.ts in @types/codemirror (#22595)
* Update index.d.ts

* Remove BOM
2018-01-03 00:08:09 -08:00
Ozum EldoganandMohamed Hegazy 66dc9ac93f forbiddenKeys for ObjectSchema (#21906) 2018-01-03 00:03:51 -08:00
Sergei ButkoandMohamed Hegazy 9c99ff65b2 Added border radii properties into ImageProperties for react-native (#22497)
* Added border radii properties into ImageProperties for react-native

* Remove trailing white spaces

* Remove more trailing whitespaces
2018-01-02 23:53:30 -08:00
sonnysanghaandMohamed Hegazy 117bff6e3c Update @types/react-stripe-elements/index.d.ts (#21830)
* Update index.d.ts for PaymentRequestButtonElement

Update the type definitions to support the PaymentRequestButtonElement in react-stripe-elements as currently they are outdated.

* Fix lint errors
2018-01-02 22:51:42 -08:00
maxwelliumandMohamed Hegazy 8f69c279a4 add readable stream as input (#22264)
* add readable stream as input

see https://github.com/mholt/PapaParse#papa-parse-for-node

* Add `// TypeScript Version: 2.2` header
2018-01-02 22:51:19 -08:00
Jake GouldingandMohamed Hegazy c719882355 Add asyncChangeFields to ConfigProps (#21915)
Mirroring change in erikras/redux-form#3531
2018-01-02 22:36:54 -08:00
PINGUET JulienandMohamed Hegazy 1a7ddb513a [express-busboy] Typing for version 6.0 (#22631) 2018-01-02 17:41:45 -08:00
Anton IzmailovandMohamed Hegazy 85ffb53c7f [@storybook/react] Array support for RenderFunction (#22529)
* Update storybook__react-tests.tsx

* Array support for RenderFunction

Follows React v16 update

* fix Jenkins build error

* fix tests error
2018-01-02 17:39:29 -08:00
Jeff KenneyandMohamed Hegazy e6b4f2333b [highcharts] add oneToOne option to chart.update (#22546) 2018-01-02 17:39:09 -08:00