Aakash-kumar-dev

sentry/v8/removal-of-void-from-transport-return-types

No description available

Legacy
sentrymigrationcodemod
Public
0 downloads
0 stars
How to Use
Run this codemod on your codebase using one of the following commands

The easiest way to run this codemod without installing anything globally:

Documentation

This codemod removes the void return type from the send method of the Transport interface, ensuring that the method always returns a TransportMakeRequestResponse in the promise. This change aligns with the updated requirements in Sentry 8.x.

codemod Registry

Example

Before

ts

After

ts

,

Before

ts

After

ts

Ready to contribute?

Build your own codemod and share it with the community.