javascript optional chain completions #97398
Labels
bug
Issue identified by VS Code Team member as probable bug
javascript
JavaScript support issues
verified
Verification succeeded
Milestone
Issue Type: Bug
After disable the javascript.suggest.includeAutomaticOptionalChainCompletions, and have an object A with declared type { B?: {C: 0} }. when I typed A.B.C, it will be auto replaced by A.B?.C, but in js file the '?.' operator should not exist.
VS Code version: Code 1.45.0 (d69a79b, 2020-05-07T16:18:48.860Z)
OS version: Windows_NT x64 10.0.18363
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: enabled
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: