we have a large Ionic app that we’re trying to build in production mode since it’s almost ready. The first issue we found is that we w
I had a similar problem, but the wrong typescript package was getting pulled in from a combination of other dependent projects as well as VS Code. I resolved it by pinning the exact version (no ^ or ~) of @ionic/app-scripts and typescript to what I needed.
"devDependencies": {
"@ionic/app-scripts": "3.1.9",
"typescript": "2.6.2"
}