VSCodeVim/Vim

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

Open

#522 opened on Jul 26, 2016

View on GitHub
 (1 comment) (0 reactions) (0 assignees)TypeScript (12,664 stars) (1,271 forks)batch import
help wantedkind/refactorsize/S

Description

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.

Contributor guide