From c4d899367bf86d7e50429c2176f72aff74bf2d2b Mon Sep 17 00:00:00 2001 From: Oscar Lorentzon Date: Wed, 20 Dec 2023 14:27:55 -0800 Subject: [PATCH] chore: update viewer option structs to types --- declarations/mapillary.js.flow | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/declarations/mapillary.js.flow b/declarations/mapillary.js.flow index 735db0ed..f3b5130c 100644 --- a/declarations/mapillary.js.flow +++ b/declarations/mapillary.js.flow @@ -2642,7 +2642,7 @@ export interface FallbackOptions { * Interface for the component options that can be provided to the viewer. * @interface */ -export interface ComponentOptions { +export type ComponentOptions = { /** * Show attribution. * @default true @@ -2749,7 +2749,7 @@ export interface ComponentOptions { * Interface for the URL options that can be provided to the viewer. * @interface */ -export interface UrlOptions { +export type UrlOptions = { /** * Explore host. * @description Host used for links to the full @@ -2784,7 +2784,7 @@ declare var CameraControls: {| /** * [object Object],[object Object],[object Object] */ -export interface ViewerOptions { +export type ViewerOptions = { /** * Optional access token for API requests of * resources.