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 7abc277 commit ea89aa8Copy full SHA for ea89aa8
src/auto-hmr/index.ts
@@ -53,9 +53,7 @@ export function createAutoHmrPlugin({ modulePath }: AutoHmrPluginOptions): Unplu
53
let routerName: string | undefined
54
let routerDeclaration: VariableDeclarator | undefined
55
56
- for (const node of ast.body as any[]) {
57
- // …rest of loop body…
58
- }
+ // @ts-expect-error
59
for (const node of ast.body) {
60
if (
61
node.type === 'ExportNamedDeclaration' ||
0 commit comments