custom-option.js
This file
Path
test/fixtures/nested/custom-option.js
3 lines · 181 bytes · JavaScript
Last changed by
Allow `verbose` option to be a function for custom logging (#1130)ehmickybefore adoption8daf348
History of this fileTake it
1234export const getOptions = ({type, optionName}) => ({ verbose: (verboseLine, verboseObject) => verboseObject.type === type ? `${verboseObject.options[optionName]}` : undefined,});