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.
as any
1 parent 65a553a commit 8e5f935Copy full SHA for 8e5f935
src/commands/generate.ts
@@ -17,6 +17,9 @@ export default defineCommand({
17
},
18
async run(ctx) {
19
ctx.args.prerender = true
20
- await buildCommand.run!(ctx as any)
+ await buildCommand.run!(
21
+ // @ts-expect-error types do not match
22
+ ctx,
23
+ )
24
25
})
src/main.ts
@@ -31,4 +31,4 @@ export const main = defineCommand({
31
await backgroundTasks
32
}
33
34
-}) as any /* TODO: Fix rollup type inline issue */
+})
0 commit comments