title: Typescript Class Import Error: Property 'prototype' is missing in type '<component name>' but required in type 'typeof <component name>'. TS(2741)
body: <p>What attempting to import one component in to a second component I am receiving the following error. </p>
  
  <blockquote>
    <p>Property 'prototype' is missing in type 'InputComponent' but required
    in type 'typeof InputComponent'. TS(2741)</p>
  </blockquote>
  
  <p>test.ts</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>class InputComponent {
  
    add():number{
      return 1 + 1
    }
  }
  
  class Example {
    public input: typeof InputComponent;
  
    constructor(Input: typeof InputComponent) {
      this.input = new Input();
    }
  }
  
  class Example2 {
    public input: typeof InputComponent;
  
    constructor(Input: typeof InputComponent = InputComponent) {
      this.input = new Input();
    }
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>Here is a screenshot of the error and sandbox.</p>
  
  <p><a href="https://ts-ast-viewer.com/#code/MYGwhgzhAECSB2AHArgFwMIHsC2jPwFN5VoBvAWACgrpowATegCgEoAueZbAIwICcKlWrT4FUyPvGgBGaAGoZNaAF8qq6pVCQYAUQAeYXCAJklKbiACWwaJaRo20VAE9EBTADM49jDjyFiAG4qJWB8CFQ+ZGBUTD4mBBRURxc3T28krFx8IlQWUyFhVAALSwgAOjsk6ABeaEIAdwy0VmDC9XUqLShofUNEYwAmAtpzKxsqhydXdy9EtCz-XLbQ8Mjo2Pj55Om0uZ9FnOJa5t9sgLyRotKKyZI6xtPWpQ6gA" rel="nofollow noreferrer">typescript sandbox</a></p>
  
  <p><a href="https://i.stack.imgur.com/PNPjA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PNPjA.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/Usirl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Usirl.png" alt="enter image description here"></a></p>