drachtio / drachtio-srf

drachtio signaling resource framework
https://drachtio.org
MIT License
171 stars 60 forks source link

Fix typescript export #176

Closed orgads closed 3 months ago

orgads commented 3 months ago

The main class is exported with:

module.exports = exports = Srf;

In Typescript, this aligns with export = Srf, and not export default Srf.

davehorton commented 1 month ago

@orgads see issue https://github.com/drachtio/drachtio-srf/issues/181#issuecomment-2389242118 which was apparently created by this PR. Could you have a look and fix?