Skip to content

Commit e4fbbcb

Browse files
author
Alexander Kiselev
authored
Enable allowJs and some other options in tsconfig (metabase#18332)
* set `allowJs` to true in tsconfig. This allows TS to infer types from JS files * added decorators
1 parent d657ebb commit e4fbbcb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tsconfig.json

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
"./enterprise/frontend/test/*"
1818
]
1919
},
20+
"allowJs": true,
21+
"esModuleInterop": true,
22+
"experimentalDecorators": true,
2023
"forceConsistentCasingInFileNames": true
2124
},
2225
"include": [

0 commit comments

Comments
 (0)