Commit Graph
10 Commits
Author SHA1 Message Date
DaIgebandMohamed Hegazy fe1b612ef0 Allow component props for withRouter (#16339) 2017-05-05 10:38:55 -07:00
DaIgebandMohamed Hegazy 585178525c Update SwitchProps to support typescript 2.3 (#16340)
SwitchProps.children is too strict for projects using typescript 2.3.
With typescript 2.3 the children could be made mandatory, but this will
break backwards compatibility with any ts 2.2 user
2017-05-05 10:11:16 -07:00
Mohamed HegazyandGitHub e564537f7f Fix lint failures (#16329)
* fix lint failures

* Fix more lint failures

* Fix some more lint errors
2017-05-04 15:31:42 -07:00
DenisandMohamed Hegazy ddb6d939c3 TS Linting react-router (#16240)
- Using default `dtslint/dt.json` for linting
2017-05-01 13:47:36 -07:00
Jeremy FauvelandSheetal Nandi cb42760188 Add missing Redirect props (#16195)
Add an optional extended description…
2017-04-28 10:54:07 -07:00
Nathan Shively-SandersandGitHub f4ce20f619 Merge pull request #15403 from kryops/react-router4
react-router MemoryRouter.initialEntries can be string[]
2017-04-06 09:03:33 -07:00
AndyandGitHub 68e0aea47a Lint additional react packages (#15527) 2017-03-30 14:25:38 -07:00
Michael Strobel 4a2542e4af react-router MemoryRouter.initialEntries
* Use History.LocationDescriptor[]
* Add example
2017-03-29 08:07:50 +08:00
Huy Nguyen 3e626b8949 Add type of context for react-router & react-router-dom
The `Router` component passes a context object down to children.  This
commit adds the type definition for this context object for children of
`Router` to use.
2017-03-28 13:57:16 -04:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00