Add helper function to generate columnInfo array code

pull/4/head
Max 4 years ago
parent dcde7006be
commit c304c053be

@ -0,0 +1,3 @@
export function logArrayInColumnInfoForm(array: string[]) {
console.log(array.map(prop => '{name: \'' + prop + '\', header: \'\'},').join('\n'));
}
Loading…
Cancel
Save