Open zivl opened 2 years ago
Stale issue message
Stale issue message
Stale issue message
Stale issue message
Stale issue message
Stale issue message
Stale issue message
Stale issue message
Stale issue message
Stale issue message
Stale issue message
Stale issue message
Typed
sentryTransport
functionAfter the code base move to TypeScript, we got rid of the manual
*.d.ts
files which caused issues with the implicit returned type ofsentryTransport
function.The main cause that we cannot use the straitforward retuned type is because we want to support multiple Sentry versions, and that results in multiple conflicted interfaces (some of them are breaking changes).
We need to come up with something we have done on our manual definition file back then:
But the above is also not straitforward for the TS compiler to digest (for some reason). For me personally, I'm a TypeScript newbe so I'm looking for the right solution here... any kind of help is welcomed!