Skip to content

Commit 8e5f935

Browse files
committedJan 6, 2025··
chore: remove some as any
1 parent 65a553a commit 8e5f935

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed
 

‎src/commands/generate.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ export default defineCommand({
1717
},
1818
async run(ctx) {
1919
ctx.args.prerender = true
20-
await buildCommand.run!(ctx as any)
20+
await buildCommand.run!(
21+
// @ts-expect-error types do not match
22+
ctx,
23+
)
2124
},
2225
})

‎src/main.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ export const main = defineCommand({
3131
await backgroundTasks
3232
}
3333
},
34-
}) as any /* TODO: Fix rollup type inline issue */
34+
})

0 commit comments

Comments
 (0)
Please sign in to comment.