This repository has been archived on 2023-12-20. You can view files and clone it, but cannot push or open issues/pull-requests.
PartyApp/tsconfig.json

31 lines
966 B
JSON

// https://javascript.plainenglish.io/react-native-path-aliasing-with-simplify-your-imports-and-enhance-your-codebase-9897efee96a8
{
"extends": "@tsconfig/react-native/tsconfig.json",
"compilerOptions": {
// ... other configs, if any
"baseUrl": ".",
"target": "ESNext",
"allowSyntheticDefaultImports": true,
"allowJs": true,
"moduleResolution": "node",
"jsx": "react-native",
"strict": true,
"paths": {
"@redux/*": ["src/redux/*"],
"@lang/*": ["src/lang/*"],
"@pages/*": ["src/pages/*"],
"@api/*": ["src/api/*"],
"@assets/*": ["src/assets/*"],
"@components/*": ["src/components/*"],
"@scenes/*": ["src/scenes/*"],
"@theme/*": ["src/theme/*"],
"@utils/*": ["src/utils/*"],
"@navigation/*": ["src/navigation/*"],
"@configs/*": ["src/configs/*"],
"@helper/*": ["src/helper/*"],
"@user/*": ["src/user/*"],
"@event/*": ["src/event/*"]
}
}
}