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
This commit is contained in:
Brett Morgan
2014-04-11 14:55:20 +10:00
parent f0259b1232
commit 863f355343
+1 -1
View File
@@ -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[];