Skip to content

Commit bd5c231

Browse files
authored
Type minimap container as optional (#3387)
1 parent ee6a5c0 commit bd5c231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/minimap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import WaveSurfer, { type WaveSurferOptions } from '../wavesurfer.js'
88
export type MinimapPluginOptions = {
99
overlayColor?: string
1010
insertPosition?: InsertPosition
11-
} & WaveSurferOptions
11+
} & Partial<WaveSurferOptions>
1212

1313
const defaultOptions = {
1414
height: 50,

0 commit comments

Comments
 (0)