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';