Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow the user to pass partial config values #176

Open
ajsaraujo opened this issue May 8, 2023 · 0 comments
Open

Allow the user to pass partial config values #176

ajsaraujo opened this issue May 8, 2023 · 0 comments

Comments

@ajsaraujo
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant