From 863f3553436f81f95995d2e19d4bca7ed720659f Mon Sep 17 00:00:00 2001 From: Brett Morgan Date: Fri, 11 Apr 2014 14:55:20 +1000 Subject: [PATCH] Making typescript compiler happy Typescript 1.0.0 error'd on this line, I suspect because Path is defined as a class not an interface. Changing from implements to extends made the error go away. hth, brett --- threejs/three.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/threejs/three.d.ts b/threejs/three.d.ts index 687bb81231..a83568dc10 100644 --- a/threejs/three.d.ts +++ b/threejs/three.d.ts @@ -4968,7 +4968,7 @@ declare module THREE { /** * Defines a 2d shape plane using paths. */ - export class Shape implements Path { + export class Shape extends Path { constructor(points?: Vector2[]); holes: Path[];