Skip to content

Commit 742e6e1

Browse files
author
Sebastian Silbermann
committed
fix: Add missing transforms to preset-19
1 parent ed97a70 commit 742e6e1

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

.changeset/chilled-actors-mate.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"types-react-codemod": patch
3+
---
4+
5+
Added missing transforms as choices to preset-19

bin/types-react-codemod.cjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,13 @@ async function main() {
9999
type: "checkbox",
100100
choices: [
101101
{ checked: true, value: "deprecated-react-child" },
102+
{ checked: true, value: "deprecated-react-node-array" },
103+
{ checked: true, value: "deprecated-react-fragment" },
102104
{ checked: true, value: "deprecated-react-text" },
103105
{ checked: true, value: "deprecated-void-function-component" },
106+
{ checked: true, value: "refobject-defaults" },
107+
{ checked: true, value: "scoped-jsx" },
108+
{ checked: true, value: "useRef-required-initial" },
104109
],
105110
},
106111
]);

0 commit comments

Comments
 (0)