Skip to content

Refactor and Optimize Effect Handling#12

Open
RachitSrivastava12 wants to merge 1 commit intosideshift:attempt-2from
RachitSrivastava12:patch-1
Open

Refactor and Optimize Effect Handling#12
RachitSrivastava12 wants to merge 1 commit intosideshift:attempt-2from
RachitSrivastava12:patch-1

Conversation

@RachitSrivastava12
Copy link

This PR refactors the Effect and TradeEffect handling code for better readability and type safety. The changes include:

1.Replacing interface with type where applicable.
2.Defaulting the generic type to unknown instead of any in Effect. 3.Simplifying EffectWithPayload to a type alias.

 This PR refactors the Effect and TradeEffect handling code for better readability and type safety. The changes include:

1.Replacing interface with type where applicable.
2.Defaulting the generic type to unknown instead of any in Effect.
3.Simplifying EffectWithPayload to a type alias.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant