mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-08 20:58:24 +08:00
Fixes a bug where required fields were not prefixed with `!` in the component bridges. I also discovered that this doesn't play nicely with the union type generation (!"fool"|"bar") doesn't make sense, but because we're not going to support union types (as they don't convert cleanly into Closure types) I've skipped those tests. I have a WIP CL that will strip out this support (in favour for explicit errors telling people they can't use union types in the Closure bridge code) so that CL will remove those types. Change-Id: Ibd2daf9520e492d975d38cd9e8dd2338cde6e009 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2349175 Auto-Submit: Jack Franklin <jacktfranklin@chromium.org> Commit-Queue: Paul Lewis <aerotwist@chromium.org> Reviewed-by: Paul Lewis <aerotwist@chromium.org>