From b835bd93317e86c2570788410a6045b5710aa3f0 Mon Sep 17 00:00:00 2001 From: WoodNeck Date: Tue, 22 Sep 2020 19:13:32 +0900 Subject: [PATCH] fix: missing type definition for enterVR --- declaration/PanoViewer.d.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/declaration/PanoViewer.d.ts b/declaration/PanoViewer.d.ts index 88a60b4d3..a5dfcab35 100644 --- a/declaration/PanoViewer.d.ts +++ b/declaration/PanoViewer.d.ts @@ -126,7 +126,11 @@ declare class PanoViewer extends Component { }>): this; enableSensor(): Promise; disableSensor(): this; - enterVR(): Promise; + enterVR(options: { + requiredFeatures?: any[], + optionalFeatures?: any[], + [key: string]: any, + } = {}): Promise; exitVR(): this; }