TypeScript 4.3 was released today, and one of the changes is that it removes the type RTCPriorityType. Typescript 4.3 removed some types that no browser implements, and I guess RTCPriorityType was one of the types removed — it used to be defined in Typescript’s lib.dom.d.ts.
The removal of RTCPriorityType makes mediasoup-client not compile on TypeScript 4.3 since mediasoup-client uses RTCPriorityType in SctpParameters.d.ts and DataProducer.d.ts.
Ideally, we should make mediasoup-client stop using RTCPriorityType so that mediasoup-client still works on the latest version of TypeScript.