Skip to content

Commit 9fa2293

Browse files
authoredDec 9, 2021
fix: wrong cubemap type definition
1 parent ecffc01 commit 9fa2293

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/PanoViewer/PanoViewer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export interface PanoViewerOptions {
1717
image: string | HTMLElement;
1818
video: string | HTMLElement;
1919
projectionType: ValueOf<typeof PROJECTION_TYPE>;
20-
cubemapConfig: CubemapConfig;
20+
cubemapConfig: Partial<CubemapConfig>;
2121
stereoFormat: ValueOf<typeof STEREO_FORMAT>;
2222
width: number;
2323
height: number;

0 commit comments

Comments
 (0)