Commit Graph

7921 Commits

Author SHA1 Message Date
Alan Agius
0a5138eb79 webpack: fix lint issues 2017-10-22 15:36:43 +02:00
Alan Agius
418ccd2c0c webpack: update header 2017-10-22 15:31:12 +02:00
Alan Agius
346ab19216 webpack: add update API 2017-10-22 15:30:27 +02:00
Alan Agius
9e4fd891d5 fix(webpack): MultiCompiler extends Tapable
69e0844028/lib/MultiCompiler.js (L12)
2017-10-21 10:51:01 +02:00
Daniel Król
da6e5dabc8 Add react-dnd-touch-backend types (#20770)
* Add react-dnd-touch-backend types

* CS fixes

* Add dom lib
2017-10-20 13:19:43 -07:00
Artem Malko
38e3db12b8 react Add 'as' attribute for link element (#20769) 2017-10-20 19:36:49 +01:00
Andy
e51980df25 openpgp: Convert to external module (#20622) 2017-10-20 10:02:01 -07:00
Andy
ab68c62063 signals: Lint (#20648) 2017-10-20 10:00:53 -07:00
Andy
bba52abf8e js-data-angular and js-data-http: Add dependency on the old @types/js-data (#20689) 2017-10-20 10:00:14 -07:00
Alessandro Vergani
09b08e4b7d Fix circular-json declarations to match JSON object (#20755)
* Fix circular-json declarations

* Simplify definitions of circular-json
2017-10-20 09:10:45 -07:00
UrielCh
fee527c103 update CasperJS 1.0.29 to 1.1.4 (#20739)
* update CasperJS 1.0.29 to 1.1.4
remove most oh the any type
Set Optional parameter As Optional.

* tslint casperJS
2017-10-20 08:28:54 -07:00
Cory Deppen
3bb8a66513 [redux-logger] Add optional logEntry param to LoggerPredicate (#20740)
* Add optional logEntry param to LoggerPredicate

* Enable linting

Resolve errors and comply with DT formatting recommendations.
2017-10-20 08:28:39 -07:00
Björn Tegelund
25af4237d2 Add passHref to Link (#20745) 2017-10-20 08:28:27 -07:00
Diogo Franco
399af551e6 [react-router] Fix for --strictFunctionTypes (#20746)
* [react-router] Fix for --strictFunctionTypes

It seems it's not possible for a SFC to conform to React.ComponentType<RouteComponentProps<any> | {}> with both strictFunctionTypes and strictNullChecks (they have to either be `Partial<RouteComponentProps<any>>` or `{}`).

The whole point of the `| {}` is to allow for components that have defaulted `Props` / don't use any `Props` anyway, so adding it as another listed type should work.

* Fix dtslint errors
2017-10-20 08:28:12 -07:00
Piotr Roszatycki
a41f8d2ddd nodemailer: version 4.2 (#20754) 2017-10-20 08:21:44 -07:00
Nikolay Solovyov
2753c44ac1 Update index.d.ts (#20756)
`activeIndex` and `activeShape` is optional parameters. Also, `activeIndex` can contains numbers and array of numbers, not an array of any.
2017-10-20 08:17:49 -07:00
Jacek Dargiel
ed5cfecfd7 Add ChartLayoutOptions (#20758) 2017-10-20 08:17:25 -07:00
Philipp Shestakov
490c4210d6 Added definitions for clusterize.js (#20738)
* Added definitions for clusterize.js

* Fixed definitions author.

* Review fixes.

* Review fix.
2017-10-20 07:25:57 -07:00
Bogdan
7239c6a38d new definition for youtube-dl (#20428)
* new definition for youtube-dl

* Could not parse version 2.5

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes

* Prefer /// <reference types="node" />

* few fixes

* fixes

* assert info: youtubedl.Info

* fixes
2017-10-20 07:21:38 -07:00
Viktor Isaev
6deecd5aaf Fixed types in "restify-cookies". (#20752)
* Added typings for "require-dir".

* Fixed dtslint errors.

* Fixed By field.

* Added typings for "restify-cookies".

* Added "cookies" field to Request interface.

* Added typings for "heapdump".

* Fixed types in "restify-cookies".

* Added sameSite field to types in "restify-cookies".

* Bumped version for "restify-cookies".

* Fixed version for "restify-cookies".
2017-10-20 07:09:01 -07:00
Eloy Durán
2f863a46e4 Merge pull request #20742 from voxmatt/react-relay-fixes
react-relay — fixes for compat library definitions
2017-10-20 06:30:08 +02:00
voxmatt
f697a7ca1d fixing linting errors surfaced by Travis 2017-10-19 16:59:00 -07:00
voxmatt
d2cfe0ba3e fixes for compat mode types when you're straddling modern and classic environments 2017-10-19 16:43:24 -07:00
BehindTheMath
dd980c087a [github-username-regex] Add definitions (#20665)
* [github-username-regex] Add definitions

* [github-username-regex] Change to match CommonJS export format
2017-10-19 16:15:07 -07:00
Andy
149031f781 Update TypeScript versions of packages that depend on vue (#20733) 2017-10-19 13:32:59 -07:00
Andy
8f53357a4c sequelize: Allow 'boolean' in WhereOptions (#20690) 2017-10-19 13:32:47 -07:00
Simon McClive
254fb86815 Add types for parent-package-json (#20714)
* Add types for parent-package-json

* Update return type to false and restructure tests

* Remove multiple calls of parent() in tests

* Test optional properties
2017-10-19 11:38:48 -07:00
Stephen Ierodiaconou
fec630a446 [next-redux-wrapper] update to support new option param and export interfaces used in return types (#20732)
* [next-redux-wrapper] update to support new option param and export interfaces used in return types

* Revert change to package.json
2017-10-19 11:34:06 -07:00
Andy
891a0d6841 dts-generator: Add dependency on "typescript" (#20730) 2017-10-19 11:29:04 -07:00
Jinwoo Lee
e86a56d0cc Node http2: statCheck() may also return false. (#20692)
* Node http2: statCheck() may also return `false`.

https://nodejs.org/dist/latest-v8.x/docs/api/http2.html#http2_http2stream_respondwithfile_path_headers_options
says:
The options.statCheck function may also be used to cancel the send operation by
returning false

Related node code:
  - https://github.com/nodejs/node/blob/master/lib/internal/http2/core.js#L1621
  - https://github.com/nodejs/node/blob/master/lib/internal/http2/core.js#L1671

* add tests for returning false from statCheck()

* change `void|false` to `void|boolean`

* fix lint error
2017-10-19 10:22:12 -07:00
Pratheek Adidela
2c1dc4970e Added types for node-horseman (#20030)
* Added declarations for 'node-horseman'.

* Linting is successful.

* Made required changes for pushing to @types.
2017-10-19 10:16:17 -07:00
Junyoung Clare Jang
ba5c25b8c7 Fix ModifyOptions (#20698) 2017-10-19 08:42:41 -07:00
renjfk
6688ade3ea added definitions for selectables 1.4 (#20699)
* added definitions for selectables 1.4

* options are now optional

* constructor is now optional
2017-10-19 08:42:05 -07:00
renjfk
498e2c4641 add definitions for mark.js (#20700) 2017-10-19 08:40:40 -07:00
segayuu
fb6179c085 [hexo-fs] cleanup unnecessary type annotation (#20702) 2017-10-19 08:39:42 -07:00
Ika
12eb86bd1b feat(prettier): update to v1.7.x (#20708) 2017-10-19 08:36:58 -07:00
Emre Doğan
5b3c2c6111 Optional parameters for constructor has been changed according to package's description (#20712) 2017-10-19 08:35:06 -07:00
Viktor Isaev
f9aa971b27 Added typings for "heapdump". (#20716)
* Added typings for "require-dir".

* Fixed dtslint errors.

* Fixed By field.

* Added typings for "restify-cookies".

* Added "cookies" field to Request interface.

* Added typings for "heapdump".
2017-10-19 08:31:05 -07:00
Rob Sterner
1d3179901c per the docs/comments the order can be null (#20721) 2017-10-19 08:27:29 -07:00
AJ Richardson
77eac54847 [lodash] Better chaining wrappers, overload clean-up (#19356)
* [lodash] improved iterateee parameters, simplified forEach overloads

* Changed ListIterator to StringIterator, cleaned up more issues with flatMap

* Even more flatMap cleanup

* Making wrapper types simpler and more accurate (not done)

* Fixed type inference for forEach callback arguments

* Converted explicit wrapper types, implemented differenceWith

* Updated more functions to use new-style wrappers

* Finished updating the remaining methods

* Fixed lint errors

* Fixed parameter type inference when using `any` (#19228)

* Fixed test errors

* Fixed issues with _.get

* Fixed issues with _.get

* consider this

* removed duplicate type, added TODO

* More _.get fixes

* Fixed issues with mapValues with a single parameter

* Modified lodash-tests to have minimal diff with upstream

* Improved backwards compatibility
2017-10-19 08:09:17 -07:00
mattywong
68a737fd80 [@types/next] Update Router.push() method to include UrlLike type (#20671)
* [@types/next] Update Router.push() method to include UrlLike type

Allow a valid UrlLike object instead of only a string type e.g
```
    Router.push({
      pathname: '/pathname',
      query: {
        prop1: '',
        prop2: '',
      },
    });
```
https://github.com/zeit/next.js/#with-url-object-1

* Update router.d.ts
2017-10-19 08:04:18 -07:00
Yoga Aliarham
4aa4400332 Update ioredis type definitions (add pfcount, pfadd, pfmerge interfaces) (#20669)
* Update ioredis type definitions

* Add contributor name

* Update interface order
2017-10-19 07:48:52 -07:00
Weeco
0cbf897a5d Added eachAsync options for concurrency (#20541)
* Added eachAsync options for concurrency

* Added overload function definition for eachAsync
2017-10-19 07:39:30 -07:00
Josh Rutherford
1fb244abed react-dom: add createPortal API (#20245). (#20336)
* react-dom: add createPortal API.

* React, React-DOM: move portal interface to types/react, update render for class components to include ReactPortal.

* react-dom: add second portal test case with jsx, allow jsx in react-dom-tests.

* react, react-dom createPortal api: remove undocumented arguments, properties.
2017-10-19 11:40:47 +01:00
Benjamin Lichtman
ba590380e1 Merge pull request #19533 from voxmatt/relay-modern
Relay modern
2017-10-18 17:00:24 -07:00
Tomoki Ohno
288e9dd83f Add new definition: react-hyperscript (#20693)
* Add new package: react-hyperscript

* Type of function should be declared by function keyword...

* Add a workaround

tsc does not allow `export =`ing function because ES spec does not allow that.
But react-hyperscript does that.
So this workaround is required.
2017-10-18 14:26:47 -07:00
Roberto Desideri
2fd1709e59 Remove myself from the authors (#20697) 2017-10-18 13:44:29 -07:00
Anatoly Demidovich
862695fbb4 fix connect() overload (#20674) 2017-10-18 13:34:17 -07:00
Chris Grigg
28822d262c @types/rosie: allow factory.build with class constructor (#20564)
* allow Rosie factory.build with class constructor to work, though type unsafe

* improve types for build with constructor, improve tests
2017-10-18 13:31:50 -07:00
Will Ockmore
93c5cb136b Add types for stemmer package (#20675)
* Add types for stemmer package

Adds type definition for single default function in
package.

* Change typing in stemmer package to correct format
2017-10-18 12:33:43 -07:00