From 2b369df57d6382c6d9736f3158313a671c129874 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Tue, 16 Jul 2024 12:27:11 +0700 Subject: [PATCH] Fix native import on web --- src/types/events.ts | 2 ++ src/types/index.ts | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/types/events.ts b/src/types/events.ts index 6d3e0d9e..f8f405e8 100644 --- a/src/types/events.ts +++ b/src/types/events.ts @@ -20,6 +20,8 @@ import type { OnVolumeChangeData, } from '../specs/VideoNativeComponent'; +export type * from '../specs/VideoNativeComponent'; + export type AudioTrack = OnAudioTracksData['audioTracks'][number]; export type TextTrack = OnTextTracksData['textTracks'][number]; export type VideoTrack = OnVideoTracksData['videoTracks'][number]; diff --git a/src/types/index.ts b/src/types/index.ts index 24725b6c..ab62b6c1 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -8,4 +8,3 @@ export {default as TextTrackType} from './TextTrackType'; export {default as ViewType} from './ViewType'; export * from './video'; export * from './video-ref'; -export * from '../specs/VideoNativeComponent';