mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
Added equals function
This commit is contained in:
Vendored
+5
@@ -92,6 +92,11 @@ interface tinycolor {
|
||||
/**/
|
||||
mix(color1: ColorInput, color2: ColorInput, amount?: number): tinycolorInstance;
|
||||
|
||||
/**
|
||||
* Can be called with any tinycolor input
|
||||
*/
|
||||
equals(color1: ColorInput, color2: ColorInput): boolean;
|
||||
|
||||
/**
|
||||
* Returns a random color
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user