From 32ab9ac3dfe2733b77a4c099d44a670fd5a2850a Mon Sep 17 00:00:00 2001 From: Emlyn Bolton Date: Thu, 28 Mar 2019 11:36:20 -0700 Subject: [PATCH] Add typing to all the filter types. --- src/index-types.d.ts | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/src/index-types.d.ts b/src/index-types.d.ts index 6939e3a9..ec0f07c8 100644 --- a/src/index-types.d.ts +++ b/src/index-types.d.ts @@ -134,25 +134,25 @@ declare namespace Konva { export type KonvaEventObject = import('./types').KonvaEventObject; 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; }; }