Add helper function to generate columnInfo array code
parent
dcde7006be
commit
c304c053be
@ -0,0 +1,3 @@
|
||||
export function logArrayInColumnInfoForm(array: string[]) {
|
||||
console.log(array.map(prop => '{name: \'' + prop + '\', header: \'\'},').join('\n'));
|
||||
}
|
Loading…
Reference in New Issue