Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const initTable = (reference: any) => {
let table = readConfig(reference).table;
table = Ux.treeTableColumns(table);
const options = readOptions(reference);
if (options.hasOwnProperty("table.empty.text")) table.emptyText = options['table.empty.text'];
if (!table.hasOwnProperty("bordered")) table.bordered = true;
return table;
};
const _initData = (reference) => {