Use named argument for the type in Plain JS
Avoids the awkward null argument but is more boilerplate.
Better/worse?