mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 22:18:36 -05:00
Update TypeScript config to ignore Flow autgenerated stubs. (#3141)
By doing this, TypeScript will now resolve the types of the imports to the actual library, instead of the packaged stubbed to `any`. Prior to this change `npx tsc` reported 1121 errors. After this change, `npx tsc` reports 797 errors.
This commit is contained in:
@@ -19,6 +19,9 @@
|
||||
"styles": ["src/styles"],
|
||||
"tests": ["tests"],
|
||||
},
|
||||
"types": ["nativewind/types"]
|
||||
}
|
||||
"types": ["nativewind/types"],
|
||||
},
|
||||
"exclude": [
|
||||
"flow-typed"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user