VS Code tips — 'Convert to optional chaining' refactoring in JavaScript and TypeScript

preview_player
Показать описание
Today's VS Code tip: convert to optional chaining

Quickly convert repeated property accesses to use optional chaining.

This refactoring works in both JavaScript and TypeScript and can help you quickly clean up and simplify code

Рекомендации по теме