Types break when using with typescript
shoxsz opened this issue ยท 9 comments
Hello guys, just wanted to let you know about an issue with typescript types for this module, when using moduleResolution: Node16
it causes some errors when trying to import the default exported fastify plugin callback, you can check this out here https://arethetypeswrong.github.io/?p=%40immobiliarelabs%2Ffastify-sentry%406.0.10
๐ This issue has been resolved in version 7.0.0 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐
Hi @simonecorsi ,
I get an error that the dsn property does not exist in the plugin option. You can also see that it is not declared in the published types for 7.0.0.
Was this missed?
Thanks.
Hi @simonecorsi ,
I get an error that the dsn property does not exist in the plugin option. You can also see that it is not declared in the published types for 7.0.0.
Was this missed?
Thanks.
Hi @nnennajohn , thank you for reporting this. I think I missed it in this latest release. I'll fix it
Ok, it seems I found the problem
๐ This issue has been resolved in version 7.0.1 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐
@nnennajohn Let me know if there are still issues with types, thanks again ๐
Great. Thanks so much. Will update and test it out.