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
Note: When you want to downgrade or upgrade with specific supported versions:
npm i -D email@example.com
replace x with version..
You can also check the currect version of TypeScript using this command
it will return like this