Last active
September 2, 2021 01:54
-
-
Save labocho/0afa689d18dc5b2d434ec0ff9a6673bb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"compilerOptions": { | |
"noImplicitAny": true, | |
"module": "es6", | |
"target": "es5", | |
"jsx": "react", | |
"allowJs": true, | |
"moduleResolution": "node", | |
// import Foo from "foo" を書けるようにする | |
"allowSyntheticDefaultImports": true, | |
// import で絶対パス指定時に、webpack.config.js の resolve.modules で import はできるが、 | |
// 型情報は取ってきてくれないので、ここでも指定する | |
"baseUrl": ".", | |
"paths": { | |
"*": ["node_modules/*", "app/javascript/*"], | |
}, | |
"strictNullChecks": true, | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment