title: Angular5 - File is missing from the TypeScript compilation
body: <p>I have a file.ts file which does not contain a component/service/etc but just a data type.</p>
  
  <blockquote>
    <p>When I try to compile my program I get this error: Module build
    failed: Error: my path\File.ts is missing from the TypeScript
    compilation. Please make sure it is in your tsconfig via the 'files'
    or 'include' property.</p>
  </blockquote>
  
  <p>Then I changed my tsconfig.app.json file to contain the include tag:</p>
  
  <pre><code>{
    "extends": "../tsconfig.json",
    "compilerOptions": {
      "outDir": "../out-tsc/app",
      "baseUrl": "./",
      "module": "es2015",
      "types": []
    },
    "include": [
          "**/*.ts"
      ],
    "exclude": [
      "**/*.spec.ts"
    ]
  }
  </code></pre>
  
  <p>as the message suggested, but I got this error:</p>
  
  <blockquote>
    <p>error TS18003: No inputs were found in config file 'tsconfig.json'.
    Specified 'include' paths were '["src/**/*.ts"]' and 'exclude' paths
    were '["**/*.spec.ts"]'.</p>
  </blockquote>
  
  <p>What am I doing wrong?</p>