ngx-currency
ngx-currency copied to clipboard
Allow the user to pass partial config values
forRoot
argument is of type CurrencyMaskConfig
. This way, the user is forced to pass an object with all the properties, even though they only want to change some of them and use default values for the others.
It would be nice if the argument was Partial<CurrencyMaskConfig>
instead.