mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
Merge pull request #29086 from acatcalledfrank/master
chroma-js / adding hex output type for scales
This commit is contained in:
Vendored
+1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user