Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/types/core/api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ export function prependTraces(
/** Render the plot to a data URI or SVG string. */
export function toImage(root: RootOrData, opts?: ToImgopts): Promise<string>;
/** Render the plot and trigger a browser download. */
export function downloadImage(root: RootOrData, opts: DownloadImgopts): Promise<string>;
export function downloadImage(root: RootOrData, opts?: DownloadImgopts): Promise<string>;

/**
* Reconcile the plot's current state with the supplied figure. Comparable
Expand Down