title: ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property
body: <p>I have upgraded the angular 4 application to angular 6. I have basically two projects. The parent project is packaged and referenced in the child project. The screen shot below shows parent project folder called @wtw that is referenced in the client project. The @wtw folder is under the node_modules folder.
   The child project was building the parent package fine when it was in Angular  version 4. Ever since the upgrade has been done to 6 it complains of ts files under the wtw folder seems missing from the TypeScript compilation. Do I need to explicitly include the path in the tsConfig file.</p>
  
  <p>I tried to add the following in the tsConfig but no difference</p>
  
  <pre><code>"inlcude": [
      "node_modules/@wtw/**/*"
    ]
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/jFFEn.png" rel="noreferrer"><img src="https://i.stack.imgur.com/jFFEn.png" alt="enter image description here"></a></p>
  
  <p>tsConfig file</p>
  
  <pre><code>{
    "compileOnSave": false,
  
    "compilerOptions": {
      "outDir": "./dist/out-tsc",
      "baseUrl": "src",
      "sourceMap": true,
      "declaration": false,
      "moduleResolution": "node",
      "emitDecoratorMetadata": true,
      "experimentalDecorators": true,
      "target": "es5",
      "typeRoots": [
        "node_modules/@types",
        "type-definition"
      ],
      "lib": [
        "es2017",
        "dom"
      ]
    },
    "inlcude": [
      "node_modules/@wtw/**/*"
    ]
  }
  </code></pre>
  
  <p>angular.json file</p>
  
  <pre><code>{
    "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
    "version": 1,
    "newProjectRoot": "projects",
    "projects": {
      "app": {
        "root": "",
        "sourceRoot": "src",
        "projectType": "application",
        "prefix": "irm",
        "schematics": {},
        "architect": {
          "build": {
            "builder": "@angular-devkit/build-angular:browser",
            "options": {
              "outputPath": "../wwwroot",
              "index": "src/index.html",
              "main": "src/main.ts",
              "polyfills": "src/polyfills.ts",
              "tsConfig": "src/tsconfig.app.json",
              "assets": [
                "src/assets",
                "src/favicon.ico",
                "src/favicon.png",
                "src/web.config",
                {
                  "glob": "**/*",
                  "input": "../node_modules/@wtw/platform/assets",
                  "output": "./assets"
                },
                {
                  "glob": "**/*",
                  "input": "../assets",
                  "output": "./assets"
                }
              ],
              "styles": [
                "../IRM.ClientSide/node_modules/@wtw/platform/styling/platform.scss"
              ],
              "scripts": [
                "../IRM.ClientSide/node_modules/jsoneditor/dist/jsoneditor.js"
              ]
            },
            "configurations": {
              "production": {
                "fileReplacements": [
                  {
                    "replace": "environments/environment.ts",
                    "with": "environments/environment.prod.ts"
                  }
                ],
                "optimization": true,
                "outputHashing": "all",
                "sourceMap": false,
                "extractCss": true,
                "namedChunks": false,
                "aot": false,
                "extractLicenses": true,
                "vendorChunk": false,
                "buildOptimizer": true
              }
            }
          },
          "serve": {
            "builder": "@angular-devkit/build-angular:dev-server",
            "options": {
              "browserTarget": "app:build"
            },
            "configurations": {
              "production": {
                "browserTarget": "app:build:production"
              }
            }
          },
          "extract-i18n": {
            "builder": "@angular-devkit/build-angular:extract-i18n",
            "options": {
              "browserTarget": "app:build"
            }
          },
          "test": {
            "builder": "@angular-devkit/build-angular:karma",
            "options": {
              "main": "test.ts",
              "polyfills": "polyfills.ts",
              "tsConfig": "tsconfig.spec.json",
              "karmaConfig": "karma.conf.js",
              "styles": [],
              "scripts": [],
              "assets": []
            }
          },
          "lint": {
            "builder": "@angular-devkit/build-angular:tslint",
            "options": {
              "tsConfig": [
                "src/tsconfig.app.json",
                "src/tsconfig.spec.json"
              ],
              "exclude": [
                "**/node_modules/**/*",
                "**/src/app/api/**/*",
                "**/src/polyfills.ts",
                "**/node_modules/**/*",
                "**/src/app/api/**/*",
                "**/src/polyfills.ts",
                "**/node_modules/**/*",
                "**/src/app/api/**/*",
                "**/src/polyfills.ts"
              ]
            }
          }
        }
      },
      "pdf": {
        "root": "src",
        "sourceRoot": "src",
        "projectType": "application",
        "prefix": "irm",
        "schematics": {},
        "architect": {
          "build": {
            "builder": "@angular-devkit/build-angular:browser",
            "options": {
              "outputPath": "../pdf",
              "index": "pdf.html",
              "main": "pdf.ts",
              "polyfills": "polyfills.ts",
              "tsConfig": "tsconfig.app.json",
              "assets": [
                "assets",
                "favicon.ico",
                {
                  "glob": "**/*",
                  "input": "../node_modules/@wtw/platform/assets",
                  "output": "./assets"
                }
              ],
              "styles": [
                "./styles.scss"
              ],
              "scripts": []
            },
            "configurations": {
              "production": {
                "fileReplacements": [
                  {
                    "replace": "environments/environment.ts",
                    "with": "environments/environment.prod.ts"
                  }
                ],
                "optimization": true,
                "outputHashing": "all",
                "sourceMap": false,
                "extractCss": true,
                "namedChunks": false,
                "aot": false,
                "extractLicenses": true,
                "vendorChunk": false,
                "buildOptimizer": true
              }
            }
          },
          "serve": {
            "builder": "@angular-devkit/build-angular:dev-server",
            "options": {
              "browserTarget": "app:build"
            },
            "configurations": {
              "production": {
                "browserTarget": "app:build:production"
              }
            }
          },
          "extract-i18n": {
            "builder": "@angular-devkit/build-angular:extract-i18n",
            "options": {
              "browserTarget": "app:build"
            }
          },
          "test": {
            "builder": "@angular-devkit/build-angular:karma",
            "options": {
              "main": "test.ts",
              "polyfills": "polyfills.ts",
              "tsConfig": "tsconfig.spec.json",
              "karmaConfig": "karma.conf.js",
              "styles": [],
              "scripts": [],
              "assets": []
            }
          },
          "lint": {
            "builder": "@angular-devkit/build-angular:tslint",
            "options": {
              "tsConfig": [
                "src/tsconfig.app.json",
                "src/tsconfig.spec.json"
              ],
              "exclude": [
                "**/node_modules/**/*",
                "**/src/app/api/**/*",
                "**/src/polyfills.ts",
                "**/node_modules/**/*",
                "**/src/app/api/**/*",
                "**/src/polyfills.ts",
                "**/node_modules/**/*",
                "**/src/app/api/**/*",
                "**/src/polyfills.ts"
              ]
            }
          }
        }
      },
      "app-e2e": {
        "root": "e2e/",
        "projectType": "application",
        "architect": {
          "e2e": {
            "builder": "@angular-devkit/build-angular:protractor",
            "options": {
              "protractorConfig": "e2e/protractor.conf.js",
              "devServerTarget": "app:serve"
            },
            "configurations": {
              "production": {
                "devServerTarget": "app:serve:production"
              }
            }
          },
          "lint": {
            "builder": "@angular-devkit/build-angular:tslint",
            "options": {
              "tsConfig": "e2e/tsconfig.e2e.json",
              "exclude": [
                "**/node_modules/**"
              ]
            }
          }
        }
      }
    },
    "defaultProject": "app"
  }
  </code></pre>