Commit 0c88601
committed
fix(expo): use optional chaining for TurboModuleRegistry on web
Replace .web.ts approach with optional chaining in the original spec
file. This avoids TypeScript build issues from moduleSuffixes while
still preventing the crash when TurboModuleRegistry is undefined on web.1 parent 18ccf31 commit 0c88601
2 files changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
This file was deleted.
0 commit comments