with tslint.json configuration:
i had this until 5.9.1 (with 5.8.0 it was no problem)
"extends": [
"tslint:latest"
],
this will throw now this error:
error TS5024: Compiler option 'extends' requires a value of type string.
tried this:
"extends": "tslint:latest",
and got this error:
error TS18001: A path in an 'extends' option must be relative or rooted, but 'tslint:latest' is not.
Closing as duplicate of #3643. Please see that other issue for a detailed explanation.
Hello Google user! If you're NOT using tslint, you're in the wrong place, you're looking for:
https://github.com/Microsoft/TypeScript/issues/18865
You may be running into this issue because TypeScript can't find what you're extending.
If you're trying to extend a module, e.g. "extends": "@sindresorhus/tsconfig", you have to make sure it's installed where you're calling tsc
tsc locally, what you're extending needs to be installed locally (npm install @sindresorhus/tsconfig)Or just make sure you're calling the local tsc
Most helpful comment
Hello Google user! If you're NOT using tslint, you're in the wrong place, you're looking for:
https://github.com/Microsoft/TypeScript/issues/18865
You may be running into this issue because TypeScript can't find what you're extending.
If you're trying to extend a module, e.g.
"extends": "@sindresorhus/tsconfig", you have to make sure it's installed where you're callingtsctsclocally, what you're extending needs to be installed locally (npm install @sindresorhus/tsconfig)Or just make sure you're calling the local
tsc