We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think that it would be better to use object as argument. instead of
generate.prototype.createComponent = function( module, componentName, answers, answersInner, onlyFile, cb ) {}
better is
generate.prototype.createComponent = function({ module, componentName, answers, answersInner = null, onlyFile = false, cb }) {}
And later use that:
generate.createComponent({ module: modulename, componentName: name, cb: function(status) {} });
The text was updated successfully, but these errors were encountered:
Yes, this is a good refactoring idea! 🎉
Sorry, something went wrong.
No branches or pull requests
I think that it would be better to use object as argument.
instead of
better is
And later use that:
The text was updated successfully, but these errors were encountered: