Make raycast iterable

This commit is contained in:
jordan4ibanez 2023-11-13 01:38:57 -05:00
parent 74cbf7bf34
commit 39e5a0ab39

4
minetest-api.d.ts vendored
View File

@ -1227,9 +1227,7 @@ interface HumidityMapObject {
}
function Raycast(_pos1: Vec3, _pos2: Vec3, _object: boolean, _liquids: boolean): RaycastObject
interface RaycastObject {
__call(): Iterator<PointedThing>
}
interface RaycastObject extends Iterator<PointedThing>{}
function SecureRandom(): SecureRandomObject
interface SecureRandomObject {