VS Code tips — Automatic awaits in JavaScript and TypeScript

preview_player
Показать описание
Today's VS Code tip: automatic awaits

When you trigger suggestions on a promise in JavaScript or TypeScript, VS Code suggests properties from the wrapped value. Accept one of these and an await is automatically inserted.

The can really speed up writing asynchronous code.
Рекомендации по теме
welcome to shbcf.ru