blob: 2e66080cf44b6145d0a93cbe0f4774d2407ae682 [file] [log] [blame]
{
"compilerOptions": {
"allowJs": true,
"esModuleInterop": true,
"module": "commonjs",
"lib": ["DOM", "ES2017"],
"noImplicitAny": true,
"inlineSourceMap": true,
"inlineSources": true,
"strict": true,
"target": "es2017",
"declaration": true
},
"exclude": [
// Exclude the //_bazel_* symlinks. This Prevents the following VSCode error:
//
// To enable project-wide JavaScript/TypeScript language features, exclude large folders
// with source files that you do not work on.
//
// The below excludes do not affect the Bazel build because these paths are not visible to
// build actions.
"./_bazel_bin",
"./_bazel_buildbot",
"./_bazel_out",
"./_bazel_testlogs",
// Excluding this directory prevents errors such as:
//
// error TS5055: Cannot write file '[...]/bazel-out/[...]/external/[...]/example.js'
// because it would overwrite input file.
//
// Note that this directory is generated by Bazel under "_bazel_out".
"./external",
// TypeScript files under this directory are Go templates and thus do not compile.
"./new_element/templates"
]
}