mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
update threejs/three
getObjectById() should accept a number
This commit is contained in:
1 parent
44cbde48ee
commit
9e401c8a40
1 file changed
+1
-1
Vendored
+1
-1
@@ -1213,7 +1213,7 @@ declare module THREE {
|
||||
* Searches through the object's children and returns the first with a matching id, optionally recursive.
|
||||
* @param id Unique number of the object instance
|
||||
*/
|
||||
getObjectById(id: string): Object3D;
|
||||
getObjectById(id: number): Object3D;
|
||||
|
||||
/**
|
||||
* Searches through the object's children and returns the first with a matching name, optionally recursive.
|
||||
|
||||
Reference in new issue
Block a user