The type definitions provided by @types/events clash with those by @types/node, resulting in the error:
Module '"events"' has no exported member 'Listener'.
In practice this makes it impossible to use JsSIP in any Angular project, resulting in issues such as #799.
Looking at the places where Listener is being imported, we are not gaining anything by using this type definition which is extremely generic. We can do better by using a more specific type definition.
The type definitions provided by
@types/events
clash with those by@types/node
, resulting in the error:In practice this makes it impossible to use JsSIP in any Angular project, resulting in issues such as #799.
Looking at the places where
Listener
is being imported, we are not gaining anything by using this type definition which is extremely generic. We can do better by using a more specific type definition.