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.
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