Explorar o código

Merge pull request #17749 from lgarron/patch-2

Add return type to createButton for WebVR typings.
Michael Herzog %!s(int64=5) %!d(string=hai) anos
pai
achega
d31155cbe7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
 }