Fix incorrect signature of JSONLoader.parse(...)

This commit is contained in:
Drew Noakes
2014-09-30 22:13:27 +01:00
parent b217155257
commit d70c76ffdc
+1 -1
View File
@@ -1782,7 +1782,7 @@ declare module THREE {
loadAjaxJSON(context: JSONLoader, url: string, callback: (geometry: Geometry, materials: Material[]) => void , texturePath?: string, callbackProgress?: (progress: Progress) => void ): void;
parse(json:string, texturePath:string): any;
parse(json: Object, texturePath?: string): { geometry: Geometry; materials?: Material[] };
}
export interface JSonLoaderResultGeometry extends Geometry {