mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 19:09:18 +08:00
isSensor = optional
This commit is contained in:
2
matter-js/matter-js.d.ts
vendored
2
matter-js/matter-js.d.ts
vendored
@@ -268,7 +268,7 @@ declare namespace Matter {
|
||||
* @type boolean
|
||||
* @default false
|
||||
*/
|
||||
isSensor: boolean;
|
||||
isSensor?: boolean;
|
||||
/**
|
||||
* A flag that indicates whether the body is considered sleeping. A sleeping body acts similar to a static body, except it is only temporary and can be awoken.
|
||||
* If you need to set a body as sleeping, you should use `Sleeping.set` as this requires more than just setting this flag.
|
||||
|
||||
Reference in New Issue
Block a user