Skip to content

Commit 7b620b7

Browse files
author
kaptron
committed
Modify tsconfig to allow vscode to work with JS
1 parent 68cacbc commit 7b620b7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tsconfig.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"allowJs": false,
3+
"allowJs": true,
44
"allowSyntheticDefaultImports": true,
55
"baseUrl": ".",
66
"emitDecoratorMetadata": true,
@@ -30,7 +30,9 @@
3030
"~stylesheets/*": ["app/assets/stylesheets/*"],
3131
"~fonts/*": ["app/assets/fonts/*"],
3232
"~shared/*": ["app/javascript/ui/shared/*"],
33-
"~*": ["app/javascript/src/*", "types/*"]
33+
"~*": ["app/javascript/src/*", "types/*"],
34+
"~/*": ["app/javascript/*"],
35+
"#/*": ["__js_test_config/*"]
3436
}
3537
},
3638
"include": [

0 commit comments

Comments
 (0)