소스 검색

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

Fix for TypeScript - optional parameter in WebVR.d.ts
Michael Herzog 6 년 전
부모
커밋
e699c32aca
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 );
 }