mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 21:43:37 +00:00
bb35d8fa8e
https://www.typescriptlang.org/tsconfig#moduleResolution By this change, typescript compiler can read `exports` field in package.json for dependencies. https://nodejs.org/api/packages.html#exports-sugar
22 lines
742 B
JSON
22 lines
742 B
JSON
{
|
|
"extends": "@tsconfig/strictest/tsconfig.json",
|
|
"compilerOptions": {
|
|
"esModuleInterop": false,
|
|
"module": "commonjs",
|
|
"moduleResolution": "node16",
|
|
"target": "es2021",
|
|
"outDir": "out",
|
|
"lib": ["es2021"],
|
|
"sourceMap": true,
|
|
"rootDir": ".",
|
|
"newLine": "LF",
|
|
// These disables some enhancement type checking options
|
|
// to update typescript version without any code change.
|
|
"useUnknownInCatchVariables": false,
|
|
"exactOptionalPropertyTypes": false,
|
|
"noPropertyAccessFromIndexSignature": false,
|
|
"noUncheckedIndexedAccess": false
|
|
},
|
|
"exclude": ["node_modules", ".vscode-test"],
|
|
"include": ["src", "tests"]
|
|
}
|