diff --git a/types/three/src/loaders/ObjectLoader.d.ts b/types/three/src/loaders/ObjectLoader.d.ts index f75cf4758..b2b4ac784 100644 --- a/types/three/src/loaders/ObjectLoader.d.ts +++ b/types/three/src/loaders/ObjectLoader.d.ts @@ -1,9 +1,9 @@ import { Loader } from './Loader.js'; import { LoadingManager } from './LoadingManager.js'; -import { Object3D } from './../core/Object3D.js'; -import { Texture } from './../textures/Texture.js'; -import { Material } from './../materials/Material.js'; -import { AnimationClip } from './../animation/AnimationClip.js'; +import { Object3D } from '../core/Object3D.js'; +import { Texture } from '../textures/Texture.js'; +import { Material } from '../materials/Material.js'; +import { AnimationClip } from '../animation/AnimationClip.js'; import { InstancedBufferGeometry } from '../core/InstancedBufferGeometry.js'; import { BufferGeometry } from '../core/BufferGeometry.js'; import { Source } from '../textures/Source.js'; @@ -26,8 +26,8 @@ export class ObjectLoader extends Loader { parse(json: any, onLoad?: (object: Object3D) => void): T; // tslint:disable-next-line:no-unnecessary-generics parseAsync(json: any): Promise; - parseGeometries(json: any): { [key: string]: InstancedBufferGeometry | BufferGeometry }; // Array of BufferGeometry or Geometry or Geometry2. - parseMaterials(json: any, textures: { [key: string]: Texture }): { [key: string]: Material }; // Array of Classes that inherits from Matrial. + parseGeometries(json: any): { [key: string]: InstancedBufferGeometry | BufferGeometry }; + parseMaterials(json: any, textures: { [key: string]: Texture }): { [key: string]: Material }; parseAnimations(json: any): AnimationClip[]; parseImages(json: any, onLoad?: () => void): { [key: string]: Source }; parseImagesAsync(json: any): Promise<{ [key: string]: Source }>;