mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
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:
Vendored
+1
-1
@@ -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[];
|
||||
|
||||
Reference in New Issue
Block a user