Paul van Brenk
f82fc68a94
Merge pull request #10662 from DefinitelyTyped/types-2.0-20160816
...
Types 2.0 20160816
2016-08-17 15:45:00 -07:00
Mohamed Hegazy
5c91ef6ad6
Fix react-router use of react ( #10663 )
2016-08-17 09:44:50 -07:00
Paul van Brenk
145b71ff22
Clean up for typings-2.0
2016-08-16 16:20:29 -07:00
Paul van Brenk
68eea6297d
Merge branch 'master' into types-2.0-20160816
...
# Conflicts:
# acl/index.d.ts
# anydb-sql-migrations/anydb-sql-migrations.d.ts
# asana/asana.d.ts
# blue-tape/blue-tape-tests.ts
# bluebird-retry/bluebird-retry-tests.ts
# bluebird-retry/bluebird-retry.d.ts
# bluebird/index.d.ts
# bookshelf/bookshelf.d.ts
# consolidate/consolidate.d.ts
# documentdb/documentdb.d.ts
# fs-extra-promise/fs-extra-promise.d.ts
# graphene-pk11/graphene-pk11.d.ts
# inline-css/inline-css.d.ts
# inversify/index.d.ts
# java/java-tests.ts
# karma/karma.d.ts
# knex/knex.d.ts
# koa-router/koa-router.d.ts
# libxmljs/libxmljs-tests.ts
# lru-cache/lru-cache.d.ts
# mz/index.d.ts
# node-mysql-wrapper/node-mysql-wrapper-tests.ts
# node-mysql-wrapper/node-mysql-wrapper.d.ts
# nodemailer/nodemailer.d.ts
# pify/pify-tests.ts
# project-oxford/project-oxford-tests.ts
# project-oxford/project-oxford.d.ts
# react-router/react-router-tests.tsx
# react-scroll/react-scroll.d.ts
# redlock/redlock.d.ts
# request-promise/index.d.ts
# rethinkdb/rethinkdb.d.ts
# sequelize/sequelize.d.ts
# stamplay-js-sdk/index.d.ts
# stripe-node/stripe-node.d.ts
# umzug/umzug.d.ts
2016-08-16 13:56:22 -07:00
Alex Wendland
be9ecbf1d9
Add withRouter to react-router
2016-08-13 16:30:16 -07:00
Ryan Cavanaugh
b9245fba39
Merge commit 'upstream/master~350' into merge_7_25
2016-07-26 17:24:39 -07:00
Ryan Cavanaugh
c73630c9a3
Merge commit 'upstream/master~400' into merge_7_25
...
# Conflicts:
# angular-translate/angular-translate.d.ts
# knex/knex.d.ts
# redux-logger/index.d.ts
# simplestorage.js/index.d.ts
# underscore/underscore.d.ts
# yargs/yargs.d.ts
2016-07-26 13:53:00 -07:00
Ryan Cavanaugh
11d624e656
Merge commit 'upstream/master~500' into merge_7_25
2016-07-26 12:17:32 -07:00
Ryan Cavanaugh
ede3f0a99c
Merge commit 'upstream/master~550' into merge_7_25
2016-07-26 11:29:27 -07:00
Ryan Cavanaugh
347311a5f0
Partial merge remote-tracking branch 'upstream/master' into merge_7_25
2016-07-25 14:26:20 -07:00
Mohamed Hegazy
c60e17576e
Fix use of generic React attributes and event handlers
2016-07-13 22:30:45 -07:00
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
Mohamed Hegazy
d5282ee8f1
Merge pull request #9530 from rogierschouten/react-router-getcomponents
...
getComponent/getComponents now takes state parameter instead of location
2016-06-21 14:53:00 -07:00
ephoton
93c443f2c1
Export type RouteProps
2016-06-21 00:46:37 +08:00
Artur Eshenbrener
f20a05ba43
react-router: History.Location missed prop "hash" ( #9567 )
2016-06-08 19:27:30 +09:00
Artur Eshenbrener
df9065dc6e
react-router: export routerShape and historyShape ( #9551 )
...
0616f6e143/modules/PropTypes.js (L9)
0616f6e143/modules/PropTypes.js (L19)
2016-06-08 19:17:47 +09:00
François Guillot
1737fbff88
Typing Location.Query to K,V dictionary ( #9524 )
...
* Typing Location.Query to K,V dictionary
Location.Query is actually typed as 'Object', which forces to cast it to 'any' anytime you need to access one of your own query string parameter.
const clientId = (this.props.location.query as any).clientId;
It should be typed as '{ [key: string]: string; }' since it's a dictionary where you can get your arbitrary named query string parameters.
* Fixing travis build
2016-06-03 00:49:05 +09:00
Rogier Schouten
fceb0e37c0
getComponent/getComponents now takes state parameter instead of location
...
see
0cdee03a54
2016-06-02 12:00:24 +02: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
ascoders
152fb904df
update react-router.d.ts ( #9066 )
...
add basename to MatchArgs
2016-05-02 00:55:36 +09: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