From f86d2a249f27d65627b3f87b70ba2609b612a0da Mon Sep 17 00:00:00 2001 From: vvakame Date: Tue, 23 Feb 2016 10:57:57 +0900 Subject: [PATCH] fix yfiles/yfiles-tests.ts --- yfiles/yfiles-tests.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/yfiles/yfiles-tests.ts b/yfiles/yfiles-tests.ts index 0bc89557b..c19c823eb 100644 --- a/yfiles/yfiles-tests.ts +++ b/yfiles/yfiles-tests.ts @@ -139,6 +139,9 @@ module yfilesTest { } class MyNodeStyle extends yfiles.drawing.SimpleAbstractNodeStyle { + constructor() { + super(null); + } createVisual(node:yfiles.graph.INode, renderContext:yfiles.drawing.IRenderContext):yfiles.drawing.RectVisual { return new yfiles.drawing.RectVisual.FromRectangle(new yfiles.geometry.Rectangle(0, 0, 10, 10)); }