Type safety on react-router Route params possible?
<p>Is it possible to access react-router 2.0 Route properties w/TypeScript in a safe manner? For example:</p>

<pre><code>&lt;Router&gt;
  &lt;Route path="/" component={App}&gt;
    &lt;Route path="screenOne" header="Screen One" component={ScreenOne}/&gt;
  &lt;/Route&gt;
&lt;/Router&gt;
</code></pre>

<p>The header value of the screenOne Route can be accessed via 'this.props.route.header', but it doesn't seem possible to both set that and access it using TypeScript without getting warnings that the property doesn't exist on either the Route side or inside the component that accesses the property. I've looked through both the definition files in <a href="http://definitelytyped.org/">http://definitelytyped.org/</a> and <a href="https://github.com/typings/typings">https://github.com/typings/typings</a></p>