mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
Added types to matter-js-tests
This commit is contained in:
1 parent
7341bf55b6
commit
e2bd29e394
1 file changed
+1
-1
@@ -29,7 +29,7 @@ World.add(engine.world, [box2, circle1])
|
||||
|
||||
|
||||
//Composites
|
||||
var stack = Composites.stack(0, 100, 5, 1, 20, 0, function(x, y, column, row) {
|
||||
var stack = Composites.stack(0, 100, 5, 1, 20, 0, function(x:number, y:number, column:number, row:number) {
|
||||
return Bodies.circle(x, y, 75, { restitution: 0.9 });
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user