From d9981fc309a4d246c2ecb5f89e9534eaab0720d1 Mon Sep 17 00:00:00 2001 From: SMAH1 Date: Sat, 3 Apr 2021 10:59:48 +0430 Subject: [PATCH] Update packages/lucide/scripts/buildTypes.js Co-authored-by: Eric Fennis --- packages/lucide/scripts/buildTypes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lucide/scripts/buildTypes.js b/packages/lucide/scripts/buildTypes.js index 26ecbe7..0f22ebe 100644 --- a/packages/lucide/scripts/buildTypes.js +++ b/packages/lucide/scripts/buildTypes.js @@ -11,7 +11,7 @@ const typeDefinitions = `\ export interface SVGProps extends Partial ${JSON.stringify(defaultAttributes, null, 2)} export declare type IconNode = readonly [tag: string, attrs:SVGProps, children?:IconNode]; -export declare type IconData = readonly [tag: string, object: object, children: IconNode[]]; +export declare type CustomAttrs = { [attr:string]: any } export type Icons = { [key: string]: IconData } export interface CreateIconsOptions {