Merge pull request #29086 from acatcalledfrank/master

chroma-js / adding hex output type for scales
This commit is contained in:
Andrew Casey
2018-09-27 10:34:41 -07:00
committed by GitHub
+1
View File
@@ -322,6 +322,7 @@ declare namespace chroma {
*/
out(format: null): Scale;
out<K extends keyof ColorSpaces>(format: K): Scale<ColorSpaces[K]>;
out(format: 'hex'): Scale<string>;
}
interface Cubehelix {