From 5c251ac3640295c34b60b9dc1f3b11e571c48ad8 Mon Sep 17 00:00:00 2001 From: Lukas Bach Date: Fri, 19 Jan 2024 02:27:15 +0100 Subject: [PATCH] chore: fix type --- packages/demodata/src/treeData.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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] = {