diff --git a/packages/demodata/src/treeData.ts b/packages/demodata/src/treeData.ts index 43a93cb6a..896777c35 100644 --- a/packages/demodata/src/treeData.ts +++ b/packages/demodata/src/treeData.ts @@ -1,7 +1,4 @@ -const readTemplate = ( - template: any, - data: any = { items: {} } -): Record => { +const readTemplate = (template: any, data: any = { items: {} }): any => { for (const [key, value] of Object.entries(template)) { // eslint-disable-next-line no-param-reassign data.items[key] = {