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:
Corey Farwell
2025-10-15 19:05:32 -04:00
committed by GitHub
parent b20a99adec
commit 30762a51ee

View File

@@ -19,6 +19,9 @@
"styles": ["src/styles"],
"tests": ["tests"],
},
"types": ["nativewind/types"]
}
"types": ["nativewind/types"],
},
"exclude": [
"flow-typed"
]
}