Currently FindFirstChild returns Instance
as its type, this should be corrected to Instance?
as FindFirstChild calls do not gaurantee a result.
Also RaycastResult.Instance returns type any
instead of Instance
or BasePart | Terrain
.
Currently FindFirstChild returns Instance
as its type, this should be corrected to Instance?
as FindFirstChild calls do not gaurantee a result.
Also RaycastResult.Instance returns type any
instead of Instance
or BasePart | Terrain
.
Thanks for the report! I filed a ticket in our internal database and we’ll follow up when we have an update for you.
Noting that Terrain
inherits from BasePart
, only BasePart
is necessary