Ionic framework

ERROR in The Angular Compiler requires TypeScript >=3.9.2 and <4.0.0 but 3.8.3 was found instead

ERROR in The Angular Compiler requires TypeScript >=3.9.2 and <4.0.0 but 3.8.3 was found instead, someone asked me to explain?

I got this following error  "The Angular Compiler requires TypeScript >=3.9.2 and <4.0.0 but 3.8.3 was found instead." when build the ionic application using the command ionic cordova build android.

The Angular Compiler requires TypeScript Version

When i installed the latest typescript version using the following command,

npm install i -D typescript@latest

it works

Note: When you want to downgrade or upgrade with specific supported versions:

npm i -D typescript@x.x.x

replace x with version..

You can also check the currect  version of TypeScript using this command

tsc -v

it will return like this

TypeScript Version check

Post your comments / questions