mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-01 01:38:07 +08:00
The `NonNullable` type in TypeScript already excludes `undefined` from the possible types, but we weren't properly checking for it in the if-statement. R=szuend@chromium.org CC=pfaffe@chromium.org Bug: none Change-Id: I9320f0c7662d46d562d6544f35d45380043d4409 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2960173 Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Simon Zünd <szuend@chromium.org> Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>