Skip to content

Commit

Permalink
[pre-release] [0.0.48] three hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyGura committed Aug 16, 2024
1 parent 711b587 commit a89c747
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/three/src/gltf-loader/GLTFLoader.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import {
TextureLoader,
} from 'three';

type MeshoptDecoder = any;
type DRACOLoader = any;
type KTX2Loader = any;

Expand All @@ -44,13 +43,13 @@ export interface GLTF {
export class GLTFLoader extends Loader<GLTF> {
dracoLoader: DRACOLoader | null;
ktx2Loader: KTX2Loader | null;
meshoptDecoder: typeof MeshoptDecoder | null;
meshoptDecoder: any | null;

constructor(manager?: LoadingManager);

setDRACOLoader(dracoLoader: DRACOLoader): this;
setKTX2Loader(ktx2Loader: KTX2Loader | null): this;
setMeshoptDecoder(meshoptDecoder: typeof MeshoptDecoder | null): this;
setMeshoptDecoder(meshoptDecoder: any | null): this;

register(callback: (parser: GLTFParser) => GLTFLoaderPlugin): this;
unregister(callback: (parser: GLTFParser) => GLTFLoaderPlugin): this;
Expand Down

0 comments on commit a89c747

Please sign in to comment.