Skip to content

Commit de6e5bf

Browse files
authored
Merge pull request #420 from rdkcentral/fix/ColorType
updated Colors type definition
2 parents 888ce77 + cffbd39 commit de6e5bf

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/Colors/index.d.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ export type ColorTransform = {
99
get(): number;
1010
};
1111

12-
export type Colors = {
13-
(colorName: string): ColorTransform;
14-
} & {
15-
[colorName: string]: ColorTransform;
16-
};
12+
declare const Color: (colorName: string) => ColorTransform;
13+
14+
export default Color;

0 commit comments

Comments
 (0)