Skip to content

Commit f677cca

Browse files
committed
Multiple bool => boolean fixes
1 parent 3888820 commit f677cca

File tree

36 files changed

+183
-185
lines changed

36 files changed

+183
-185
lines changed

_infrastructure/tests/src/io.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ var IO = (function() {
236236
},
237237

238238
directoryExists: function(path) {
239-
return <bool>fso.FolderExists(path);
239+
return <boolean>fso.FolderExists(path);
240240
},
241241

242242
createDirectory: function(path) {

bootstrap-notify/bootstrap-notify.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ interface NotifyOptions {
1313
type?: string;
1414
/**
1515
Allow alert to be closable through a close icon.
16-
@param {bool} closable
16+
@param {boolean} closable
1717
*/
1818
closable?: boolean;
1919
/**

box2d/box2dweb.d.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -1373,7 +1373,7 @@ declare module Box2D.Collision {
13731373
* param proxy Proxy overlapping the supplied AABB.
13741374
* @aabb Proxies are query for overlap on this AABB.
13751375
**/
1376-
public Query(callback: (proxy: b2DynamicTreeNode) => bool, aabb: b2AABB): void;
1376+
public Query(callback: (proxy: b2DynamicTreeNode) => boolean, aabb: b2AABB): void;
13771377

13781378
/**
13791379
* Ray-cast against the proxies in the tree. This relies on the callback to perform a exact ray-cast in the case were the proxy contains a shape. The callback also performs the any collision filtering. This has performance roughly equal to k log(n), where k is the number of collisions and n is the number of proxies in the tree.
@@ -1438,7 +1438,7 @@ declare module Box2D.Collision {
14381438
/**
14391439
* @see IBroadPhase.Query
14401440
**/
1441-
public Query(callback: (proxy: b2DynamicTreeNode) => bool, aabb: b2AABB): void;
1441+
public Query(callback: (proxy: b2DynamicTreeNode) => boolean, aabb: b2AABB): void;
14421442

14431443
/**
14441444
* @see IBroadPhase.RayCast
@@ -1911,7 +1911,7 @@ declare module Box2D.Collision {
19111911
* param proxy Proxy overlapping the supplied AABB.
19121912
* @param aabb Proxies are query for overlap on this AABB.
19131913
**/
1914-
Query(callback: (proxy: b2DynamicTreeNode) => bool, aabb: b2AABB): void;
1914+
Query(callback: (proxy: b2DynamicTreeNode) => boolean, aabb: b2AABB): void;
19151915

19161916
/**
19171917
* Ray-cast against the proxies in the tree. This relies on the callback to perform a exact ray-cast in the case were the proxy contains a shape. The callback also performs the any collision filtering. This has performance roughly equal to k log(n), where k is the number of collisions and n is the number of proxies in the tree.
@@ -3658,15 +3658,15 @@ declare module Box2D.Dynamics {
36583658
* @param callback A user implemented callback class. It should match signature function Callback(fixture:b2Fixture):Boolean. Return true to continue to the next fixture.
36593659
* @param aabb The query bounding box.
36603660
**/
3661-
public QueryAABB(callback: (fixutre: b2Fixture) => bool, aabb: Box2D.Collision.b2AABB): void;
3661+
public QueryAABB(callback: (fixutre: b2Fixture) => boolean, aabb: Box2D.Collision.b2AABB): void;
36623662

36633663
/**
36643664
* Query the world for all fixtures that contain a point.
36653665
* @note This provides a feature specific to this port.
36663666
* @param callback A user implemented callback class. It should match signature function Callback(fixture:b2Fixture):Boolean. Return true to continue to the next fixture.
36673667
* @param p The query point.
36683668
**/
3669-
public QueryPoint(callback: (fixture: b2Fixture) => bool, p: Box2D.Common.Math.b2Vec2): void;
3669+
public QueryPoint(callback: (fixture: b2Fixture) => boolean, p: Box2D.Common.Math.b2Vec2): void;
36703670

36713671
/**
36723672
* Query the world for all fixtures that precisely overlap the provided transformed shape.
@@ -3675,7 +3675,7 @@ declare module Box2D.Dynamics {
36753675
* @param shape The query shape.
36763676
* @param transform Optional transform, default = null.
36773677
**/
3678-
public QueryShape(callback: (fixture: b2Fixture) => bool, shape: Box2D.Collision.Shapes.b2Shape, transform?: Box2D.Common.Math.b2Transform): void;
3678+
public QueryShape(callback: (fixture: b2Fixture) => boolean, shape: Box2D.Collision.Shapes.b2Shape, transform?: Box2D.Common.Math.b2Transform): void;
36793679

36803680
/**
36813681
* Ray-cast the world for all fixtures in the path of the ray. Your callback Controls whether you get the closest point, any point, or n-points The ray-cast ignores shapes that contain the starting point.

0 commit comments

Comments
 (0)