Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
florian-lefebvre committed Apr 13, 2024
1 parent 29d6305 commit 8177c85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/src/core/define-integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ export const defineIntegration = <
...args: [z.input<TOptionsSchema>] extends [never]
? []
: undefined extends z.input<TOptionsSchema>
? [options?: z.input<TOptionsSchema>]
: [options: z.input<TOptionsSchema>]
? [options?: z.input<TOptionsSchema>]
: [options: z.input<TOptionsSchema>]
) => AstroIntegration & ReturnType<TSetup>) => {
return (...args): AstroIntegration & ReturnType<TSetup> => {
const parsedOptions = (optionsSchema ?? z.never().optional()).safeParse(
Expand Down

0 comments on commit 8177c85

Please sign in to comment.