Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
(result: VisualizationObject.IVisualizationAttribute[], bucket: VisualizationObject.IBucket) => {
const items: VisualizationObject.IVisualizationAttribute[] = bucket.items.filter(
VisualizationObject.isAttribute,
);
return result.concat(items);
},
[],