Skip to content

Commit

Permalink
fix(GLTFExtensionsPlugin.d.ts): make all parameters optional
Browse files Browse the repository at this point in the history
  • Loading branch information
sguimmara committed Jan 7, 2025
1 parent 82d89b1 commit bc1c20b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/plugins/three/GLTFExtensionsPlugin.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ import { GLTFLoaderPlugin, GLTFParser } from 'three/examples/jsm/loaders/GLTFLoa
export class GLTFExtensionsPlugin {

constructor( options: {
metadata: boolean,
rtc: boolean,
metadata?: boolean,
rtc?: boolean,

plugins: Array<( parser: GLTFParser ) => GLTFLoaderPlugin>,
plugins?: Array<( parser: GLTFParser ) => GLTFLoaderPlugin>,

dracoLoader: DRACOLoader | null,
ktxLoader: KTX2Loader | null,
autoDispose: boolean,
dracoLoader?: DRACOLoader | null,
ktxLoader?: KTX2Loader | null,
autoDispose?: boolean,
} );

}

0 comments on commit bc1c20b

Please sign in to comment.