mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
update threejs/three
getObjectById() should accept a number
This commit is contained in:
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