diff --git a/node/src/types.ts b/node/src/types.ts index 53fda44fc1..50575eaea6 100644 --- a/node/src/types.ts +++ b/node/src/types.ts @@ -19,10 +19,7 @@ export type * from './rtpStreamStatsTypes'; export type * from './sctpParametersTypes'; export type * from './srtpParametersTypes'; export type * from './scalabilityModesTypes'; - -// TODO: Here we are exporting real classes rather than types. This should -// be exported somehow else rather than in mediasoup.types namespace. -export * from './errors'; +export type * from './errors'; type Only = { [P in keyof T]: T[P];