Files
iNaturalistReactNative/tsconfig.json
Corey Farwell 455f73a14a Fix error when invoking npm run lint:tsc. (#3073)
Hi! I am checking out the project and noticed there are a bunch of TypeScript errors when I open some of the files I was reading. I ran `tsc` and noticed there's an error with the current TypeScript configuration file:

```
tsconfig.json:7:23 - error TS5063: Substitutions for pattern 'appConstants' should be an array.

7       "appConstants": "src/appConstants",
                        ~~~~~~~~~~~~~~~~~~
```

This change should resolve that error, which will allow the `tsc` linter to be executed from the terminal.
2025-08-26 11:09:17 +02:00

25 lines
703 B
JSON

{
"extends": "@react-native/typescript-config/tsconfig.json",
"compilerOptions": {
"baseUrl": ".",
"paths": {
"*": ["src/*"],
"appConstants": ["src/appConstants"],
"api": ["src/api"],
"components": ["src/components"],
"dictionaries": ["src/dictionaries"],
"i18n": ["src/i18n"],
"images": ["src/images"],
"navigation": ["src/navigation"],
"providers": ["src/providers"],
"realmModels": ["src/realmModels"],
"sharedHelpers": ["src/sharedHelpers"],
"sharedHooks": ["src/sharedHooks"],
"stores": ["src/stores"],
"styles": ["src/styles"],
"tests": ["tests"],
},
"types": ["nativewind/types"]
}
}