Skip to content

Commit

Permalink
chore: remove some as any
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Jan 6, 2025
1 parent 65a553a commit 8e5f935
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/commands/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ export default defineCommand({
},
async run(ctx) {
ctx.args.prerender = true
await buildCommand.run!(ctx as any)
await buildCommand.run!(
// @ts-expect-error types do not match
ctx,
)
},
})
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ export const main = defineCommand({
await backgroundTasks
}
},
}) as any /* TODO: Fix rollup type inline issue */
})

0 comments on commit 8e5f935

Please sign in to comment.