Skip to content

Commit 2a47987

Browse files
authored
docs: when not to code mod: Baz -> Bar typo
1 parent 5601495 commit 2a47987

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/docs/guides/when-not-to-codemod.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ You now have to expand your transform to not only look for `Identifiers` with th
153153
What if we could side-step that entire part of the transform and simply alias the import instead?
154154

155155
```diff
156-
+import { Foo, Bar as Baz } from 'my-module';
156+
+import { Foo, Baz as Bar } from 'my-module';
157157
-import { Foo, Bar } from 'my-module';
158158

159159
console.log(Bar);

0 commit comments

Comments
 (0)