Browse Source

Merge pull request #17709 from soadzoor/WebVR.d.ts-optionalparameter

Fix for TypeScript - optional parameter in WebVR.d.ts
Michael Herzog 5 năm trước cách đây
mục cha
commit
e699c32aca
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      examples/jsm/vr/WebVR.d.ts

+ 1 - 1
examples/jsm/vr/WebVR.d.ts

@@ -7,5 +7,5 @@ export interface WEBVROptions {
 }
 
 export namespace WEBVR {
-	export function createButton( renderer: WebGLRenderer, options: WEBVROptions );
+	export function createButton( renderer: WebGLRenderer, options?: WEBVROptions );
 }