1
0
mirror of https://github.com/konvajs/konva.git synced 2025-04-05 20:48:28 +08:00

Add typing to all the filter types.

This commit is contained in:
Emlyn Bolton 2019-03-28 11:36:20 -07:00
parent e32052ca81
commit 32ab9ac3df

38
src/index-types.d.ts vendored
View File

@ -134,25 +134,25 @@ declare namespace Konva {
export type KonvaEventObject<E> = import('./types').KonvaEventObject<E>;
export const Filters: {
Blur;
Brighten;
Contrast;
Emboss;
Enhance;
Grayscale;
HSL;
HSV;
Invert;
Kaleidoscope;
Mask;
Noise;
Pixelate;
Posterize;
RGB;
RGBA;
Sepia;
Solarize;
Threshold;
Blur: typeof Blur;
Brighten: typeof Brighten;
Contrast: typeof Contrast;
Emboss: typeof Emboss;
Enhance: typeof Enhance;
Grayscale: typeof Grayscale;
HSL: typeof HSL;
HSV: typeof HSV;
Invert: typeof Invert;
Kaleidoscope: typeof Kaleidoscope;
Mask: typeof Mask;
Noise: typeof Noise;
Pixelate: typeof Pixelate;
Posterize: typeof Posterize;
RGB: typeof RGB;
RGBA: typeof RGBA;
Sepia: typeof Sepia;
Solarize: typeof Solarize;
Threshold: typeof Threshold;
};
}