mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-03 06:27:46 +08:00
Merge pull request #26017 from nielsdB97/scale-method-gamma
Chroma-js: Added gamma method to Scale type
This commit is contained in:
2
types/chroma-js/index.d.ts
vendored
2
types/chroma-js/index.d.ts
vendored
@@ -293,6 +293,8 @@ declare namespace chroma {
|
||||
|
||||
mode(mode: keyof ColorSpaces): this;
|
||||
|
||||
gamma(g: number): this;
|
||||
|
||||
cache(use: boolean): boolean;
|
||||
|
||||
correctLightness(enable?: boolean): this;
|
||||
|
||||
Reference in New Issue
Block a user