Skip to content

Commit

Permalink
Merge pull request #12 from slateteams/feat/export-interfaces
Browse files Browse the repository at this point in the history
fix: export declarations for WebDemuxerOptions, WebMediaInfo
  • Loading branch information
ForeverSc authored Oct 6, 2024
2 parents 1190dec + 2403b51 commit dbf245e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { WebDemuxer } from "./web-demuxer";

export type { WebAVStream, WebAVPacket } from './types';
export type { WebAVStream, WebAVPacket, WebMediaInfo } from './types';
export type { WebDemuxerOptions } from './web-demuxer';
export { AVMediaType, AVLogLevel, AVSeekFlag } from './types';
export { WebDemuxer };
2 changes: 1 addition & 1 deletion src/web-demuxer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import FFmpegWorker from "./ffmpeg.worker.ts?worker&inline";

const TIME_BASE = 1000000;

interface WebDemuxerOptions {
export interface WebDemuxerOptions {
/**
* path to the wasm loader
*/
Expand Down

0 comments on commit dbf245e

Please sign in to comment.