I think my issue is similar to this one.
I’m trying to import mediasoup-client in my typescript project, but compilation fails due to a simple issue in /src/handlers/HandlerInterface.ts:104
.
export * from 'mediasoup-client/src/types';
TypeScript error: /node_modules/mediasoup-client/src/handlers/HandlerInterface.ts(104,11): Error TS1243: ‘async’ modifier cannot be used with ‘abstract’ modifier.
I tried to ignore the error using exclude
and skipLibCheck
in my tsconfig.json
, but that didn’t work.
What is the solution to this, or maybe more generally to errors in the library?
Should I wait for an update or maybe even submit a fix myself?