From dc04b32deb3e02a4154838cc75ed3ba6545655c3 Mon Sep 17 00:00:00 2001 From: Niels de Bruin Date: Fri, 25 May 2018 01:43:47 +0200 Subject: [PATCH] Added gamma method to Scale type --- types/chroma-js/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/chroma-js/index.d.ts b/types/chroma-js/index.d.ts index 797752c8ad..daf53a0e10 100644 --- a/types/chroma-js/index.d.ts +++ b/types/chroma-js/index.d.ts @@ -293,6 +293,8 @@ declare namespace chroma { mode(mode: keyof ColorSpaces): this; + gamma(g: number): this; + cache(use: boolean): boolean; correctLightness(enable?: boolean): this;