src/generators/javascript/utils.js
Function addComponentInterfaceToExportedObject
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function addComponentInterfaceToExportedObject(ast, componentInterface) {
const body = getProgramBody(ast)
const RiotComponentWrapperImportSpecifier = builders.importSpecifier(
builders.identifier(RIOT_INTERFACE_WRAPPER_NAME),
)