VSCodeVim/Vim

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

Aperta

#522 aperta il 26 lug 2016

 (1 commento) (0 reazioni) (0 assegnatari)TypeScript (1271 fork)batch import
help wantedkind/refactorsize/S

Metriche repository

Star
 (12.664 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor