Commit Graph

40072 Commits

Author SHA1 Message Date
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
Ozum Eldogan
66dc9ac93f forbiddenKeys for ObjectSchema (#21906) 2018-01-03 00:03:51 -08:00
Sergei Butko
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
sonnysangha
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
maxwellium
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 Goulding
c719882355 Add asyncChangeFields to ConfigProps (#21915)
Mirroring change in erikras/redux-form#3531
2018-01-02 22:36:54 -08:00
PINGUET Julien
1a7ddb513a [express-busboy] Typing for version 6.0 (#22631) 2018-01-02 17:41:45 -08:00
Anton Izmailov
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 Kenney
e6b4f2333b [highcharts] add oneToOne option to chart.update (#22546) 2018-01-02 17:39:09 -08:00
Oliver Anteros
00a0a0f5fe Added "stretch" to "justifyContent" (#21817) 2018-01-02 17:37:03 -08:00
Nikolai Orekhov
5b310b110f add types for chai-webdriverio (#21891)
* add types for chai-webdriverio

* fix lint warning and remove extra lint rules

* fix compilation

* added types from webdriverio

* try to fix build

* try to fix build
2018-01-02 17:36:22 -08:00
Patt-tom McDonnell
6449d48de9 [@types/bull] Update JobStatus type to be compatible with all Queue methods (#21952)
* Update JobStatus type to be compatible with all Queue methods

The docs for Bull suggest that methods can take `waiting` as a valid JobStatus but this is incorrect.

For example [here](https://github.com/OptimalBits/bull/blob/master/lib/queue.js#L995) the `.clean` method will fail when trying to clean the status `waiting`. This should be changed to `wait` but is currently incompatible with the typings here

* use `// tslint:disable-next-line` instead of `// tslint:disable`
2018-01-02 17:34:24 -08:00
Anton
e881813b23 [redux-form] - Fix test and linting errors (#20982)
* [redux-form] - Fix linter error for redux-form v7

* replace tsconfig 'include' with 'files' property

* [redux-form] - Fix linter error for redux-form v4 and v6

* [redux-form] - disable tslint rule 'no-redundant-jsdoc' for redux-form v4

* Fix lint failures
2018-01-02 17:33:33 -08:00
waiting
6fb134d9fc Optimize type of params by Union Types (#20680)
* Optimize type of params by Union Types

* Avoid variable name of parameter clashes with keyword/type

writeCString()

* Add tslint.json

* tsconfig: turn strictNullChecks on

* Use const instead of var

* Use arrow function

* Update by new-parens

* Update for object-literal-key-quotes

* Update semicolon

* types: use object instead of Object

* types: use object instead of Object

* types: merged by union types

* Use const instead of var

* tsling: no-consecutive-blank-lines max 3

* Fix dt-header by 0.1

* Add '// TypeScript Version: 2.2' under header

* Fix for trim-file

* Update for prefer-declare-function

* tsling: turn ban-types off for use of 'Function'

* Update definition of Library

* Remove `@overide` tag
2018-01-02 17:32:22 -08:00
Oliver Joseph Ash
8e80f13320 Ramda: anyPass: use generic instead of any (#21870)
* Ramda: `anyPass`: use generic instead of any

* Lint
2018-01-02 16:28:22 -08:00
Diwakar
b6ba23b5df amqplib: add missing authentication method definitions PLAIN, EXTERNAL (#22509) 2018-01-02 15:49:31 -08:00
Ken Viktil
cda1707117 [iframe-resizer] Fix IFrameMessageData message type (#21484) 2018-01-02 15:49:07 -08:00
Jamie Starke
b2517cc5cf Adds typing for CloudWatch Logs events (#21239) 2018-01-02 15:47:47 -08:00
discharged-spider
bdde08e944 SAT package. Small, but annoying bug fixed. (#21519)
* Small fixes for sat package

* Small fixes for sat package

* Small fixes for sat package

* Small fixes for sat package
2018-01-02 15:38:06 -08:00
Evan Shortiss
36cd2eed76 Support arrays in fields generated by formidable (#21425)
* formidable - field entries can be of type Array<string>

* fix lint issue
2018-01-02 15:15:05 -08:00
Cory Deppen
e22c9e0482 Add missing compilers property to MultiCompiler (#22521)
Based on the Webpack source, the `MultiCompiler` class has a [`compilers` property](69e0844028/lib/MultiCompiler.js (L21)).
2018-01-02 14:43:52 -08:00