DEV Community

Discussion on: How to run multiple Node and Angular versions simultaneously

Collapse
 
chachan profile image
Cherny

a bit offtopic but since this is about Angular versions, is there a way to know which versions of TypeScript are supported in the current Angular version?

Collapse
 
patricepeartree profile image
Patrícia Pereira

You can check the supported TypeScript versions for an Angular version in the @angular/compiler-cli/package.json:

{
  ...
  "peerDependencies": {
    ...
    "typescript": ">=3.6 <3.7"
  }
}

There seems to be a way to disable this version checking in case you want to install a version outside of that range. But I guess you should do that at your own risk.

Collapse
 
chachan profile image
Cherny

oh that's helpful. Thanks @patricepeartree