mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-31 10:23:23 +08:00
Previously we only supported auto-completion for properties when the expression was "name." or "name[". This change adds support to also cover the new "name?." syntax. Drive-by-fix: Also add tests for auto-completion with regular dot notitation as well as bracket notation. Bug: chromium:1066415 Change-Id: If9767d5c4009715576e2afd4d14328eefd2c82b8 Fixed: chromium:1017086 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2203440 Commit-Queue: Benedikt Meurer <bmeurer@chromium.org> Auto-Submit: Benedikt Meurer <bmeurer@chromium.org> Reviewed-by: Peter Marshall <petermarshall@chromium.org>