Commit Graph

67 Commits

Author SHA1 Message Date
Ryan Cavanaugh
a5f4d50ccc Fix tsconfig files for new option name / behavior.
Also fixes some inconsistent whitespace.
2016-07-12 13:54:56 -07:00
Raghav Katyal
395c4e1639 Turning on consistent casing flag and fixing failures 2016-06-30 15:14:49 -07:00
Ryan Cavanaugh
2847235610 More fixes around __React 2016-05-12 17:07:04 -07:00
Ryan Cavanaugh
cdf9aa4e1d Convert react-router 2016-05-11 16:33:19 -07:00
Ryan Cavanaugh
72a319137e Split out react addons 2016-05-11 16:32:53 -07:00
Ryan Cavanaugh
bfd400a8f8 Add noEmit to all config files 2016-05-10 12:24:49 -07:00
Ryan Cavanaugh
e808e8e062 Remove unneeded references 2016-05-10 12:22:25 -07:00
Ryan Cavanaugh
50387d4046 Change relative reference paths to types references. Errors incoming... 2016-05-09 18:06:27 -07:00
Ryan Cavanaugh
49b1ac6a38 Rename all entry points to index.d.ts and explicitify all file lists 2016-05-09 17:29:10 -07:00
Ryan Cavanaugh
ab2b4191c5 Add typesRoot to all config files 2016-05-09 13:52:25 -07:00
Ryan Cavanaugh
290d5dfb4d More fixes 2016-05-04 18:42:46 -07:00
Ryan Cavanaugh
ded70421be Turn off strict null checks 2016-05-04 15:08:38 -07:00
Ryan Cavanaugh
69d1929d8a Add tsconfig.json files 2016-05-04 14:14:39 -07:00
Ryan Cavanaugh
e7c111c4b7 Merge remote-tracking branch 'upstream/master' into types2.0
Add tsconfig files everywhere

# Conflicts:
#	azure-mobile-services-client/AzureMobileServicesClient.d.ts
#	bookshelf/bookshelf.d.ts
#	hapi/hapi.d.ts
#	helmet/helmet.d.ts
#	mongodb/mongodb.d.ts
#	nock/nock.d.ts
#	react-bootstrap/react-bootstrap.d.ts
#	react-helmet/react-helmet.d.ts
#	restify/restify.d.ts
#	sequelize/sequelize.d.ts
2016-04-27 20:40:21 -07:00
Prasanna V. Loganathar
b56b92096d MatchArgs can also take a string (#8221)
MatchArgs `location` is either a HistoryModule.Location, or a url string, which is converted to location automatically.
2016-04-23 15:21:33 +09:00
Thomas Hourlier
fa4c230580 Add createMemoryHistory to react-router. (#8728)
Since the version 2.0.0, react-router exports createMemoryHistory.
2016-04-23 15:19:41 +09:00
Giedrius Grabauskas
e42fc3e471 Updated react-router 2.0
Added onchange hook.
Updated all hooks.
Params changed from object to dictionary.
Changed to use location descriptor.
2016-03-30 15:46:59 +03:00
vvakame
7de6c3dd94 Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
Tom Shen
735772cee9 Add useRouterHistory to react-router type definitions 2016-03-08 14:19:25 -05:00
Masahiro Wakame
94949214ef Merge pull request #8256 from ngbrown/react-router-v2
Updates for react-router v2.0.0
2016-03-04 22:14:24 +09:00
Giedrius Grabauskas
4bf9e262ab Removed module name 2016-03-02 17:39:58 +02:00
Giedrius Grabauskas
c7b3b3c193 Added setRouteLeaveHook 2016-03-02 17:29:56 +02:00
Nathan Brown
b3a2b98134 Export RouterOnContext from "react-router" module. 2016-02-28 12:24:19 -07:00
Nathan Brown
647734d252 Undo changes to react.d.ts. Update test to use static contextTypes and retype context. 2016-02-26 12:00:59 -07:00
Nathan Brown
156aee9c2e react-router has a new context type in v2.0.0, so added that. Updated tests. 2016-02-25 16:27:41 -07:00
Nathan Brown
d89fabadf4 Update history to v2.0.0 and add tests. 2016-02-25 16:14:09 -07:00
Isman Usoh
07feae1178 Update react-router.d.ts 2016-01-30 17:29:23 +07:00
Isman Usoh
306df6f069 Rename RoutingContext -> RouterContext
c0363abbe4
2016-01-30 17:04:47 +07:00
Masahiro Wakame
62eff42bd8 Merge pull request #7688 from wereHamster/react-router-RouteProps
react-router: a React component supports get{Index,Child}Routes props
2016-01-24 00:29:44 +09:00
Tomas Carnecky
bf904b5a58 react-router: a React component supports get{Index,Child}Routes props 2016-01-19 09:14:18 +01:00
Jason
3c1f12954a react-router.d.ts: add RouteComponentProps.children 2016-01-15 09:56:32 -08:00
Roger Chen
d9978a3c3c Update react-router typings for 2.0.0 2016-01-05 15:44:59 -08:00
vvakame
781e468d4b remove unused .tscparams 2015-12-23 18:23:35 +09:00
Michael Tiller
814e5ba4b1 Exposing additional types and interfaces 2015-11-27 12:06:21 -05:00
Sergey Buturlakin
99f6493ffb add push and replace methods 2015-11-20 11:31:28 +02:00
Sergey Buturlakin
51cd044cad update useRoutes history enhancer result interface 2015-11-20 11:20:02 +02:00
Sergey Buturlakin
d0e0aacb36 add deprecated but supported methods 2015-11-20 11:18:51 +02:00
Sergey Buturlakin
8dedcf938a update tests 2015-11-19 19:45:21 +02:00
Sergey Buturlakin
3aa3970f22 Merge remote-tracking branch 'remotes/upstream/master'
Conflicts:
	react-router/react-router-tests.ts
2015-11-19 19:44:12 +02:00
Sergey Buturlakin
9962a6144e add IndexLink to the default export 2015-11-19 19:13:28 +02:00
Sergey Buturlakin
91e9c035e1 update to React Router v1.0.0 2015-11-19 14:15:44 +02:00
Sergey Buturlakin
c5179cd689 update definitions to history v1.13.1 2015-11-16 19:02:38 +02:00
James Brantly
99443d33d5 Update tests for dependencies of React to work with v0.14 2015-11-11 09:47:20 -05:00
Tanguy Krotoff
d8373f0a6f Rename from *-test.ts to *-tests.ts 2015-10-23 20:52:47 +02:00
Sergey Buturlakin
0d64ea1b82 History enhancers definitions improved using union types 2015-10-01 12:31:03 +03:00
Sergey Buturlakin
f0d5440f90 Micro update of createRoutes export 2015-10-01 11:03:39 +03:00
Sergey Buturlakin
4a33c914d1 Add tests
Restore old definitions as react-router-0.13.3.d.ts
Update react-redux to use old definitions
2015-09-30 19:27:10 +03:00
Sergey Buturlakin
ef5f585334 Complete react-router v1.0.0-rc1 definitions 2015-09-30 17:52:15 +03:00