Skip to content

Commit 1bca2e0

Browse files
committed
fix: File helper.d.ts has invalid type definition
1 parent 21836b9 commit 1bca2e0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

snapshots/demo-js/helper.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
/* eslint-disable */
22

3-
export const getIconColor: (color: string | string[] | undefined, index: number, defaultColor: string) => string;
3+
export declare const getIconColor: (color: string | string[] | undefined, index: number, defaultColor: string) => string;

src/templates/helper.d.ts.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
/* eslint-disable */
22

3-
export const getIconColor: (color: string | string[] | undefined, index: number, defaultColor: string) => string;
3+
export declare const getIconColor: (color: string | string[] | undefined, index: number, defaultColor: string) => string;

0 commit comments

Comments
 (0)