From 3c20410e43c8e456a5db5b6576c1e652b117e142 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1aki=20Baz=20Castillo?= Date: Wed, 8 Jan 2025 09:46:27 +0100 Subject: [PATCH] types.ts: export only types of errors --- node/src/types.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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];