Commit Graph

40101 Commits

Author SHA1 Message Date
Evan Shortiss
98f1d85679 Fixed - nodejs core typing for path.resolve args (#22567)
* Fixed - nodejs core typing for path.resolve args

* fix in all versions
2018-01-03 17:03:06 -08:00
headdetect
d23fe00922 Add zipcodes definitions (#22584)
* Add zipcodes definitions

* Updating zipcdes readme.md

* Delete README.md

* ZipCodes : Updating definitions export structure
2018-01-03 16:39:56 -08:00
Martin Feckie
6be899ad46 Improve typings for Enumerable (#22523)
* Fix typo Enumberable -> Enumerable

* Set return type to Enumerable of filter, reject etc to support chaining

* findBy value type should be any, not string

* Convert return type for Enumerable to NativeArray<T>
2018-01-03 16:06:45 -08:00
AJ Richardson
3f28d2ed00 lodash: _.get should work with NumericDictionaries (#22619)
* lodash: _.get should with numeric keys, too.
Also added some better tests.

* lodash: add one more NumericDictionary overload for _.get

* lodash: more reasonable index for _.get tests
2018-01-03 16:06:27 -08:00
York Yao
0e03b5f45d add types of pangu (#22643)
* add types of pangu

* remove default export and unused namespace
2018-01-03 16:06:05 -08:00
Olaf Tomalka
abb6cbad16 Fix Node's path.format() requiring all options (#22525)
* Fix Node's path.format() requiring all options

The bug manifested during use of path.win32 and path.posix submodules.
Both functions required all of the options to exist which is not
the case as some override others.
Further research indicated that previous Node versions were also
susceptible, up to v4.

I've used the Typescript's Partial<> type which makes all properties
optional, allowing for easier maintenance and readabillity at the cost
of now requiring Typescript 2.1, which I believe is a good trade-off.

* Revert the decision to use TS 2.1 in @types/node

Updating Typescript version would require to update
all other types that rely on Node, which may be quite a lot.
Fixing a bug is not a big enough reason to add new version to all
of those packages.
2018-01-03 14:44:18 -08:00
hoo29
34f8553e46 Update index.d.ts (#22338)
added secureProtocol to ServerOptions
2018-01-03 13:34:09 -08:00
Tomas Polovincak
68f6a78112 aws-lambda: extend Handler return type to support Promises (#22588) 2018-01-03 13:29:06 -08:00
Leo Liang
ac20d45163 mocha: timeout accepts string parameter (#22337) 2018-01-03 13:28:32 -08:00
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: "&nbsp;", 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