Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mohab-sameh authored Dec 21, 2023
1 parent 63ac82d commit 8379702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codemods/msw/2/type-args/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ There is a change to generic type interface of `rest.method()` calls. This codem

### WARNING

This codemod runs `.fixUnusedIdentifiers()` on a source file you are running it on. This would remove any unused declarations in the file. This is due to atomicity of this mod, which blindly inserts the callback structure into each msw handler callback and then cleans up the variables that are not used.
This codemod runs `.fixUnusedIdentifiers()` on a target source file. This would remove any unused declarations in the file. This is due to atomicity of this mod, which blindly inserts the callback structure into each msw handler callback and then cleans up the variables that are not used.

## Example

Expand Down

0 comments on commit 8379702

Please sign in to comment.