mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-10 11:50:49 +08: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:
1 parent
f0259b1232
commit
863f355343
1 file changed
+1
-1
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