title: How to typescript file creating using with interfaces method other typescript file?
body: <p><strong>I'm working on react native project with using typescript. Especially create a permission file with using link <a href="https://github.com/yonahforst/react-native-permissions/blob/master/Example/Example.js" rel="nofollow noreferrer">this</a></strong></p>
  
  <p>I have a camera and storage method basically and little bit confusing about how to create interface module on my project</p>
  
  <pre><code>const Permission = require('react-native-permissions')
  import React from 'react'
  import {
  StyleSheet,
  TouchableHighlight,
  Text,
  View,
  Alert,
  AppState,
  Platform,
  } from 'react-native'
  
  interface Props extends {
  string: []
  }
  
  interface PermissionsState extends {
  status: {},
  }
  
  class Permissions extends React.Component&lt;Props,PermissionsState&gt; {
  constructor(props) {
  Permission.check([type])
  type PermissionStatus = 'granted' | 'denied' |'never_ask_again';
  
  
  
  this.state = {
  
  };
  }
  
  render () {
  return (
  render() {
  return (
  &lt;View&gt;
  &lt;View/&gt;
  )
    }
  }
  
  
  
  
  
   export default new Permissions()
  </code></pre>
  
  <p>and my errors begin <code>interface Props extends {</code> line and error description is:</p>
  
  <p>An interface can only extend an identifier/qualified-name with optional type arguments.
  (property) string: undefined[]</p>