Skip to content

Commit

Permalink
Merge pull request #35 from douglaseel/v3
Browse files Browse the repository at this point in the history
Make it compatible with typescript 4.x projects
  • Loading branch information
jmillan authored Jan 17, 2024
2 parents 05ea0d3 + 11a4e0e commit 6c578e2
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,11 @@ export async function createWorker({
/**
* Expose Worker class and related types.
*/
export { Worker, type WorkerSettings, type WorkerLogLevel };
export { Worker };
export type { WorkerSettings, WorkerLogLevel };

/**
* Expose AiortcMediaStream class and related types.
*/
export {
AiortcMediaStream,
type AiortcMediaStreamConstraints,
type AiortcMediaTrackConstraints,
};
export { AiortcMediaStream };
export type { AiortcMediaStreamConstraints, AiortcMediaTrackConstraints };

0 comments on commit 6c578e2

Please sign in to comment.