Skip to content

Commit

Permalink
add more three types to codemod (#847)
Browse files Browse the repository at this point in the history
  • Loading branch information
guitavano authored Sep 23, 2024
1 parent d037f3a commit f532825
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions scripts/codemod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,10 @@ export const runCodeMod = async (context?: CodeModContext): Promise<void> => {
moduleSpecifier: EXPORTS.DECO,
isTypeOnly: true,
},
LoadingFallbackProps: {
moduleSpecifier: EXPORTS.DECO,
isTypeOnly: true,
},
},
"deco/blocks/page.tsx": {
Page: {
Expand Down Expand Up @@ -504,6 +508,14 @@ export const runCodeMod = async (context?: CodeModContext): Promise<void> => {
badRequest: {
moduleSpecifier: EXPORTS.DECO,
},
LoadingFallbackProps: {
moduleSpecifier: EXPORTS.DECO,
isTypeOnly: true,
},
Resolved: {
moduleSpecifier: EXPORTS.DECO,
isTypeOnly: true,
},
},
"deco/blocks/matcher.ts": {
MatchContext: {
Expand Down

0 comments on commit f532825

Please sign in to comment.