title: Typescript cant find class CI only
body: <p>I have an <strong>Angular</strong> project and when I run &quot;ng test&quot; locally everything works just fine, however in bitbucket pipelines I have this error.</p>
  <blockquote>
  <p>ERROR in src/app/services/user-store/user.service.ts:7:22 - error
  TS2307: Cannot find module '../../models/user' or its corresponding
  type declarations. 7 import { User } from '../../models/user';</p>
  </blockquote>
  <p><strong>My tsconfig.base</strong></p>
  <pre><code>{
    &quot;compileOnSave&quot;: false,
    &quot;compilerOptions&quot;: {
      &quot;baseUrl&quot;: &quot;./&quot;,
      &quot;outDir&quot;: &quot;./dist/out-tsc&quot;,
      &quot;sourceMap&quot;: true,
      &quot;declaration&quot;: false,
      &quot;downlevelIteration&quot;: true,
      &quot;experimentalDecorators&quot;: true,
      &quot;moduleResolution&quot;: &quot;node&quot;,
      &quot;importHelpers&quot;: true,
      &quot;target&quot;: &quot;es2015&quot;,
      &quot;module&quot;: &quot;es2020&quot;,
      &quot;lib&quot;: [
        &quot;es2018&quot;,
        &quot;dom&quot;
      ]
    }
  }
  </code></pre>
  <p><strong>My tsconfig.spec.json</strong></p>
  <pre><code>{
    &quot;extends&quot;: &quot;./tsconfig.base.json&quot;,
    &quot;compilerOptions&quot;: {
      &quot;outDir&quot;: &quot;./out-tsc/spec&quot;,
      &quot;types&quot;: [
        &quot;jasmine&quot;
      ]
    },
    &quot;files&quot;: [
      &quot;src/test.ts&quot;,
      &quot;src/polyfills.ts&quot;
    ],
    &quot;include&quot;: [
      &quot;src/**/*.spec.ts&quot;,
      &quot;src/**/*.d.ts&quot;
    ]
  }
  </code></pre>
  <p>I think is related with the &quot;target&quot; in my tsconfig.base, but i'm not sure, maybe something missing in my yaml?</p>
  <p><strong>bitbucket-pipelines.yml</strong></p>
  <pre><code>pipelines:
   default:
     - step:
         name: Build, Lint and Test
         image: rastasheep/alpine-node-chromium:12-alpine
         caches:
           - node
         deployment: test
         script:
           - npm install 
           - npm run test:ci
           - npm run e2e:ci
           - npm run build:prod
           - pipe: atlassian/firebase-deploy:0.3.0
             variables:
               FIREBASE_TOKEN: '$FIREBASE_TOKEN_CI'
  </code></pre>
  <p><strong>User.ts</strong></p>
  <pre><code>import * as firebase from 'firebase';
  
  export interface User{
      uid: string;
      name: string;
      email: string;
  }
  </code></pre>