Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
docs._props.forEach((_, name) => {
if (defaultDescriptions[name]) {
let prop = docs.getPropDescriptor(name);
let dflt = defaultDescriptions[name];
if (dflt && !cleanDoclets(prop.description))
prop.description = `${dflt}\n${prop.description}`;
}
});
},