Commit Graph

40092 Commits

Author SHA1 Message Date
Andy
e237ef3ffc colors: Fix test (#22656) 2018-01-03 13:25:25 -08:00
falsandtru
f2dceb3528 [mocha] Remove type overriding by NodeJS (#22528)
* Fix type pollution

* Fix uncaught bugs of #22267
2018-01-03 13:17:50 -08:00
Sergei Dryganets
d0db614137 Electron Webview tag support added. (#22058) 2018-01-03 13:14:27 -08:00
Mohamed Hegazy
c152f305b9 Add inspectPort to ClusterSettings (#22652) 2018-01-03 12:59:29 -08:00
Kurt Preston
9c38485822 [reactstrap] Adding missing tag prop to Col definition (#22655) 2018-01-03 12:58:01 -08:00
Daniel Hritzkiv
8829824eae Add getRenderTarget; deprecate getCurrentRenderTarget() (#22654)
* Add `getRenderTarget`; deprecate `getCurrentRenderTarget()`

* Update revision number; Update website; Add definition contributor

Changed project website to the more common https://threejs.org
2018-01-03 12:39:29 -08:00
Dancespile
018ef9fb6f add hash argument in the constructor (#22650)
The argument hash was missed in the constructor (see more in https://github.com/krasimir/navigo)
2018-01-03 12:20:42 -08:00
burka
ad3181849c Added missing param for angular-locker. (#22648)
See https://github.com/tymondesigns/angular-locker/blob/master/src/angular-locker.js#L143:53 for source.
2018-01-03 12:20:05 -08:00
Daniel Milbrandt
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 Sahloul
7c58f05cf4 Allow user to select folders from team drives (#22637) 2018-01-03 12:18:52 -08:00
Ankur Oberoi
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 Lavie
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
Andy
ab2b520051 Remove chartjs in favor of chart.js (#22442) 2018-01-03 11:54:50 -08:00
Michael Zabka
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
Askaholic
ddbf07cb69 Fixes #20470 Map.addHandler takes a newable type as second param. (#22577) 2018-01-03 11:47:40 -08:00
Sarun Intaralawan
634718d6f2 fix(@types/croppie): do not export Croppie as default export (#22574) 2018-01-03 11:47:00 -08:00
Flarna
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 Preston
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
양현석
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 Grafov
9a3fbe89bd [highcharts] Added type for axis labels formatter execution context (#22244) 2018-01-03 11:29:25 -08:00
Romke van der Meulen
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 Fischer
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
Flarna
d858e8e4a6 [restify] Fix build by removing wrong headers property from Response (#22653) 2018-01-03 11:23:20 -08:00
Shawn Clabough
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
Beaker73
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 Macnair
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
marcelo
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 Traber
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ša
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 Shchaurouski
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
zonr
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 Alvarez
87ad3c1bcb Remove @types/adal in favor of @types/adal-angular (#22565) 2018-01-03 10:01:31 -08:00
FishOrBear
658ddd4d17 add 'Texture' attribute: 'center','rotation' (#22612) 2018-01-03 09:57:52 -08:00
Steve Ognibene
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án
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 Winograd
94ca94802d [react-native] Add onDismiss prop to Modal 2018-01-03 11:33:58 +01:00
Andrew Sun͈̮
53c6d6aa43 Fix typo in bytebuffer (#22580) 2018-01-03 00:47:38 -08:00
Andrew Bradley
2b17e92e96 Fixes typo in my username (#22592) 2018-01-03 00:46:35 -08:00
samrg472
979f91a2e6 Fix typos in calculation functions and add missing function (#22614) 2018-01-03 00:43:32 -08:00
Job
2495d307b0 cropperjs: add image smoothing options (#22621) 2018-01-03 00:39:48 -08:00
Ankur Oberoi
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 Schierboom
f5e4a39cb6 cucumber: add status enum (#22635) 2018-01-03 00:35:31 -08:00
Brice BERNARD
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 Zaynetdinov
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 Gunz
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 Hua
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 Lam
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
josetuttu
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 Crockett
70272e25c4 [React] Make side effect-only callbacks return void instead of any (#22609) 2018-01-03 00:08:35 -08:00
Joseph Safwat Khella
c7450fa320 Update index.d.ts in @types/codemirror (#22595)
* Update index.d.ts

* Remove BOM
2018-01-03 00:08:09 -08:00