@types/three: Wring typings for ObjectLoader.parseImages #16914 (#16915)

* Update three-core.d.ts

fixed typings for THREE.ObjectLoader.parseImages

* Update three-core.d.ts

Changed result of ObjectLoader.parseImages function to more specific type
This commit is contained in:
LebedenkoN
2017-06-06 06:32:27 -07:00
committed by Andy
parent 1c93aa3906
commit ca10f0d24d
+1 -1
View File
@@ -2208,7 +2208,7 @@ export class ObjectLoader {
parseGeometries(json: any): any[]; // Array of BufferGeometry or Geometry or Geometry2.
parseMaterials(json: any, textures: Texture[]): Material[]; // Array of Classes that inherits from Matrial.
parseAnimations(json: any): AnimationClip[];
parseImages(json: any, onLoad: () => void): any[];
parseImages(json: any, onLoad: () => void): { [key: string]: HTMLImageElement };
parseTextures(json: any, images: any): Texture[];
parseObject<T extends Object3D>(data: any, geometries: any[], materials: Material[]): T;
}