VSCodeVim/Vim

Use objects as poor man's keyword arguments for some functions

Open

#522 建立於 2016年7月26日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)TypeScript (12,664 star) (1,271 fork)batch import
help wantedkind/refactorsize/S

描述

A couple of our functions have a few trailing boolean arguments, which makes invocations impossible to read.

Make these arguments into objects and use destructuring to improve readability.

貢獻者指南

Use objects as poor man's keyword arguments for some functions · VSCodeVim/Vim#522 | Good First Issue