Skip to content

Instantly share code, notes, and snippets.

@victorcrbt
Last active February 19, 2020 17:38
Show Gist options
  • Save victorcrbt/ef51e05350fc1d2dbc2f357c4aa4b256 to your computer and use it in GitHub Desktop.
Save victorcrbt/ef51e05350fc1d2dbc2f357c4aa4b256 to your computer and use it in GitHub Desktop.
tsconfig for Root Import
{
"compilerOptions": {
"baseUrl": "src",
"paths": {
"~/*": ["*"],
"#redux/*": ["store/modules/*"]
}
}
}
{
"extends": "./paths.json",
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react"
},
"include": ["src"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment