From d33a79940bf7169d819b39d755e83e57f1dc0b8a Mon Sep 17 00:00:00 2001 From: Yingjie Liu Date: Wed, 28 Nov 2018 17:50:49 +0800 Subject: [PATCH] Update konva.d.ts fix Layer FastLayer generic type definition --- konva.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/konva.d.ts b/konva.d.ts index 5e9a4aae..ea595c9d 100644 --- a/konva.d.ts +++ b/konva.d.ts @@ -667,14 +667,14 @@ declare namespace Konva { hitGraphEnabled?: boolean; } - class FastLayer extends Container { + class FastLayer extends Container { constructor(config?: LayerConfig); drawScene(): void; hitGraphEnabled(val: boolean): this; batchDraw(): void; } - class Layer extends Container { + class Layer extends Container { constructor(config?: LayerConfig); getIntersection(pos: Vector2d, selector?: string): Shape; enableHitGraph(): this;