From 9b36091bd5e929310f609b284f728dd6f7948e23 Mon Sep 17 00:00:00 2001 From: Julien Paroche Date: Fri, 8 Jan 2016 12:19:59 +0100 Subject: [PATCH] Add clone method from version 1.3.0 --- tinycolor/tinycolor.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tinycolor/tinycolor.d.ts b/tinycolor/tinycolor.d.ts index 4d36c084b..d7bc54342 100644 --- a/tinycolor/tinycolor.d.ts +++ b/tinycolor/tinycolor.d.ts @@ -329,6 +329,11 @@ interface tinycolorInstance { * Gets the complement of the current color */ complement(): tinycolorInstance; + + /** + * Gets a new instance with the current color + */ + clone(): tinycolorInstance; } declare module Readable {