From d95af2bfb0c6b66e04e3adaac35d79b15a3a5692 Mon Sep 17 00:00:00 2001 From: stafford Date: Sun, 16 Oct 2016 19:14:07 +1100 Subject: [PATCH] include MouseConstraint --- matter-js/matter-js.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/matter-js/matter-js.d.ts b/matter-js/matter-js.d.ts index 1e07750c19..2d8e99eb5a 100644 --- a/matter-js/matter-js.d.ts +++ b/matter-js/matter-js.d.ts @@ -2946,8 +2946,8 @@ declare namespace Matter { * @param world * @param body * @returns world - */ - static add(world: World, body: Body | Array | Composite | Array | Constraint | Array): World; + */ + static add(world: World, body: Body | Array | Composite | Array | Constraint | Array | MouseConstraint): World; /** * An alias for Composite.addBody since World is also a Composite @@ -3308,7 +3308,7 @@ declare namespace Matter { * @param object * @param eventNames * @param event - */ + */ static trigger(object: any, eventNames: string, event?: (e: any) => void): void; }