Skip to content

Commit

Permalink
chore: update viewer option structs to types
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarlorentzon committed Feb 2, 2024
1 parent 1cba160 commit c4d8993
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions declarations/mapillary.js.flow
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit c4d8993

Please sign in to comment.