mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-28 12:43:06 +08:00
Fix incorrect signature of JSONLoader.parse(...)
This commit is contained in:
Vendored
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user