I'm using visual studio code for a typescript project, where I use some 3rd party npm js libraries. Some of them don't provide any ts types (types.d.ts file), so whenever I use parameters or variables without specifying their type, vs code's linting shows this error: parameter implicitly has an 'any' type. Also, ts wouldn't compile.
How can I prevent this from happening?
First, to make typescript tolerate parameters without declaring their type, edit the
Second, install the tslint npm package as a prerequisite for the tslint vs code extension
Third, install the tslint vs code extension