title: React Native - Moving between screens error in navigation
body: <p>I am learning moving between screens tutorial. I came up to HomeScreen.js file where I get red error on navigation. When I hover on navigation I get error</p>
  
  <pre><code>[ts] Property 'navigation' does not exist on type 'Readonly&lt;{ children?: ReactNode; }&gt; &amp; Readonly&lt;{}&gt;'.
  any
  </code></pre>
  
  <p>And When I hover on 'react-navigation' I get </p>
  
  <pre><code>"[ts]
  Could not find a declaration file for module 'react-navigation'. 'd:/react-workspace/stack-navigator/node_modules/react-navigation/src/react-navigation.js' implicitly has an 'any' type.
    Try `npm install @types/react-navigation` if it exists or add a new declaration (.d.ts) file containing `declare module 'react-navigation';`"
  </code></pre>
  
  <p>This is my code</p>
  
  <pre><code>import React, { Component } from 'react';
  import {
      View,
      Text,
      StyleSheet,
      Button
  } from 'react-native';
  import { createStackNavigator } from 'react-navigation';
  
  class HomeScreen extends React.Component {
      render() {
          return (
              &lt;View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}&gt;
                  &lt;Text&gt;Home Screen&lt;/Text&gt;
                  &lt;Button
                      title="Go to Details"
                      onPress={() =&gt; this.props.navigation.navigate('Details')}
                  /&gt;
              &lt;/View&gt;
          );
      }
  }
  
  
  export default HomeScreen;
  </code></pre>