Update packages/lucide/scripts/buildTypes.js

Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
This commit is contained in:
SMAH1
2021-04-03 10:59:48 +04:30
committed by GitHub
parent d883fc2c79
commit d9981fc309
+1 -1
View File
@@ -11,7 +11,7 @@ const typeDefinitions = `\
export interface SVGProps extends Partial<SVGElement> ${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 {