mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Merge pull request #15695 from guncha/patch-1
[color] Add a missing rgb() method
This commit is contained in:
1
types/color/index.d.ts
vendored
1
types/color/index.d.ts
vendored
@@ -66,6 +66,7 @@ declare namespace Color {
|
||||
keyword(): string | undefined;
|
||||
hex(color: string): Color;
|
||||
hex(): string;
|
||||
rgb(): Color;
|
||||
rgbNumber(): number;
|
||||
luminosity(): number;
|
||||
contrast(color: Color): number;
|
||||
|
||||
Reference in New Issue
Block a user