We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c002eb6 commit 60663b3Copy full SHA for 60663b3
packages/react-email/src/utils/get-email-component.ts
@@ -95,7 +95,7 @@ export const getEmailComponent = async (
95
96
if (m in staticNodeModulesForVM) {
97
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
98
- return staticNodeModulesForVM[m];
+ return staticNodeModulesForVM[m as keyof typeof staticNodeModulesForVM];
99
}
100
101
// eslint-disable-next-line @typescript-eslint/no-var-requires, @typescript-eslint/no-useless-template-literals
0 commit comments