* [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
* 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".
* Add types for parent-package-json
* Update return type to false and restructure tests
* Remove multiple calls of parent() in tests
* Test optional properties
* 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".
* [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
* [@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
* 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.
* 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.