Add moduleSuffixes to tsconfig (#11146)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Samuel Newman
2026-07-16 22:47:53 +03:00
committed by GitHub
parent a8b963b357
commit 007c21fa8e
82 changed files with 628 additions and 201 deletions
+14
View File
@@ -0,0 +1,14 @@
{
"extends": "./tsconfig.check.json",
"compilerOptions": {
/*
* Mirrors Metro's resolution order for platform=android.
*/
"moduleSuffixes": [".android", ".native", ""]
},
/*
* Narrows the base exclude so the *.android-check.d.ts ambient shims
* apply to this pass.
*/
"exclude": ["src/platform/*.web-check.d.ts"]
}