mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-13 01:54:52 +08:00
If we have a helper method that returns data, TS will moan about there not actually being a return in the function body. Adding code that throws an error fixes this and is safe as this bridge code is never executed, it exists to satisfy our compilers. Change-Id: Iff34733adac4267ff04aff1ba0bb58a38c71dd6b Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2366794 Commit-Queue: Jack Franklin <jacktfranklin@chromium.org> Commit-Queue: Alex Rudenko <alexrudenko@chromium.org> Auto-Submit: Jack Franklin <jacktfranklin@chromium.org> Reviewed-by: Alex Rudenko <alexrudenko@chromium.org>