From 9e401c8a40c742d18ca2894f64c94646e82d61f0 Mon Sep 17 00:00:00 2001 From: Qinsi ZHU Date: Fri, 23 Oct 2015 14:50:21 +0800 Subject: [PATCH] update threejs/three getObjectById() should accept a number --- threejs/three.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/threejs/three.d.ts b/threejs/three.d.ts index 66601f301..dffcda050 100644 --- a/threejs/three.d.ts +++ b/threejs/three.d.ts @@ -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.