Skip to content

Commit

Permalink
Prevent VS Code from showing errors in tsconfig (gravitational#29808)
Browse files Browse the repository at this point in the history
If tsconfig doesn't have an `outDir` option set, VS Code shows multitude of errors of the following kind:

```
Cannot write file '/Users/bartosz/code/teleport/e/web/teleport/babel.config.js' because it would overwrite input file.
```
  • Loading branch information
bl-nero authored Aug 1, 2023
1 parent e9056d1 commit 853fb52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@
"gen-proto-js/*": [
"gen/proto/js/*"
]
}
},
"outDir": "dist"
},
"include": [
"e/web/**/*.ts",
Expand Down

0 comments on commit 853fb52

Please sign in to comment.