From 8cef5b921b9216e3feb1798edaee1678f78ffb76 Mon Sep 17 00:00:00 2001 From: katspaugh Date: Sun, 15 Oct 2023 13:09:47 +0200 Subject: [PATCH] Fix: export Region class instead of type --- src/plugins/regions.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/plugins/regions.ts b/src/plugins/regions.ts index f20fef439..7eccdbc0d 100644 --- a/src/plugins/regions.ts +++ b/src/plugins/regions.ts @@ -61,7 +61,7 @@ export type RegionParams = { channelIdx?: number } -class SingleRegion extends EventEmitter { +export class Region extends EventEmitter { public element: HTMLElement public id: string public start: number @@ -463,7 +463,7 @@ class RegionsPlugin extends BasePlugin