Skip to content

Commit

Permalink
fix: return type for GLTFLoader's parseAsync method (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
capnmidnight authored Jun 14, 2022
1 parent 13ae1c3 commit fe6bc9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/three/examples/jsm/loaders/GLTFLoader.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class GLTFLoader extends Loader {
onError?: (event: ErrorEvent) => void,
): void;

parseAsync(data: ArrayBuffer | string, path: string): Promise<void>;
parseAsync(data: ArrayBuffer | string, path: string): Promise<GLTF>;
}

export type GLTFReferenceType = 'materials' | 'nodes' | 'textures' | 'meshes';
Expand Down

0 comments on commit fe6bc9b

Please sign in to comment.