Skip to content

Commit

Permalink
Node: make types.ts only export types rather than the entire class/co…
Browse files Browse the repository at this point in the history
  • Loading branch information
ibc authored Jul 7, 2023
1 parent 217ce02 commit 760f203
Showing 1 changed file with 20 additions and 19 deletions.
39 changes: 20 additions & 19 deletions node/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
export * from './Worker';
export * from './WebRtcServer';
export * from './Router';
export * from './Transport';
export * from './WebRtcTransport';
export * from './PlainTransport';
export * from './PipeTransport';
export * from './DirectTransport';
export * from './Producer';
export * from './Consumer';
export * from './DataProducer';
export * from './DataConsumer';
export * from './RtpObserver';
export * from './ActiveSpeakerObserver';
export * from './AudioLevelObserver';
export * from './RtpParameters';
export * from './SctpParameters';
export * from './SrtpParameters';
export type * from './Worker';
export type * from './WebRtcServer';
export type * from './Router';
export type * from './Transport';
export type * from './WebRtcTransport';
export type * from './PlainTransport';
export type * from './PipeTransport';
export type * from './DirectTransport';
export type * from './Producer';
export type * from './Consumer';
export type * from './DataProducer';
export type * from './DataConsumer';
export type * from './RtpObserver';
export type * from './ActiveSpeakerObserver';
export type * from './AudioLevelObserver';
export type * from './RtpParameters';
export type * from './SctpParameters';
export type * from './SrtpParameters';
// We cannot export only the type of error classes because those are useless.
export * from './errors';
export { ScalabilityMode } from './scalabilityModes';
export type { ScalabilityMode } from './scalabilityModes';

export type AppData =
{
Expand Down

0 comments on commit 760f203

Please sign in to comment.