I inherited an old AngularJs application which use the legacy tools: bower and grunt.
When I run grunt serve --reload, I have the following warning message:
WARNING: You are currently running a version of TypeScript which is not officially supported by typescript-eslint-parser.
You may find that it works just fine, or you may not.
SUPPORTED TYPESCRIPT VERSIONS: ~2.3.2
YOUR TYPESCRIPT VERSION: 2.2.2
Please only submit bug reports when using the officially supported version.
It is weird because I use a recent version of Typescript:
tsc --version
Version 4.1.3
I make the assumption that typescript is installed locally. Is it possible?
How can I check the installed tool versions (tsc and eslint)?
How to upgrade? Does it worth it?
EDIT: Dependency list
> npm list
[email protected] /Users/llaporte/workspace/foo
├── @types/[email protected]
├── @types/[email protected]
├── @types/[email protected]
├── @types/[email protected]
├── @types/[email protected]
├── @types/[email protected]
├── @types/[email protected]
├── @types/[email protected]
├── @types/[email protected]
├── @types/[email protected]
├── @types/[email protected]
├── @types/[email protected]
├── @types/[email protected]
├── @typescript-eslint/[email protected]
├── @typescript-eslint/[email protected]
├── [email protected] (git+http://xxx/xxx/grunt-bar.git#a6b7624aeea9ea324e92a9e8971feb67ab9d0346)
└── [email protected]
EDIT: grunt version
I am using an "old" version of grunt:
> grunt --version
grunt-cli v0.1.13
grunt v0.4.5