Преглед на файлове

Merge pull request #17749 from lgarron/patch-2

Add return type to createButton for WebVR typings.
Michael Herzog преди 5 години
родител
ревизия
d31155cbe7
променени са 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 ): HTMLElement;
 }