From bc1c20bbf99b028106b9e38591e64b93971f94d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Guimmara?= Date: Tue, 7 Jan 2025 14:33:04 +0100 Subject: [PATCH] fix(GLTFExtensionsPlugin.d.ts): make all parameters optional --- src/plugins/three/GLTFExtensionsPlugin.d.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/plugins/three/GLTFExtensionsPlugin.d.ts b/src/plugins/three/GLTFExtensionsPlugin.d.ts index b7c64b50c..d2d56ad55 100644 --- a/src/plugins/three/GLTFExtensionsPlugin.d.ts +++ b/src/plugins/three/GLTFExtensionsPlugin.d.ts @@ -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, } ); }