Skip to content

Commit

Permalink
fix(react-email): Linting problem
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmfern committed Dec 18, 2024
1 parent c002eb6 commit 60663b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-email/src/utils/get-email-component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export const getEmailComponent = async (

if (m in staticNodeModulesForVM) {
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
return staticNodeModulesForVM[m];
return staticNodeModulesForVM[m as keyof typeof staticNodeModulesForVM];
}

// eslint-disable-next-line @typescript-eslint/no-var-requires, @typescript-eslint/no-useless-template-literals
Expand Down

0 comments on commit 60663b3

Please sign in to comment.