Skip to content

Commit

Permalink
[Discover] Remove allow js setting (#148286)
Browse files Browse the repository at this point in the history
## Summary

Closes #144283

This PR removes `allowJS` setting.
  • Loading branch information
dimaanj authored Jan 4, 2023
1 parent c1681d2 commit 9186244
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/plugins/discover/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
{
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
// there is still a decent amount of JS in this plugin and we are taking
// advantage of the fact that TS doesn't know the types of that code and
// gives us `any`. Once that code is converted to .ts we can remove this
// and allow TS to infer types from any JS file imported.
"allowJs": false
"outDir": "target/types"
},
"include": ["common/**/*", "public/**/*", "server/**/*", "../../../typings/**/*", ".storybook/**/*"],
"kbn_references": [
Expand Down

0 comments on commit 9186244

Please sign in to comment.