Skip to content

Commit

Permalink
chore: ensure amplify types respect upstream nitro types
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Nov 20, 2023
1 parent 02a7ba4 commit 5c4cd7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const providerSetup: Partial<Record<ImageProviderName, ProviderSetup>> =
},
imageSettings: {
sizes: Array.from(new Set(Object.values(moduleOptions.screens || {}))),
formats: ['image/jpeg', 'image/png', 'image/webp', 'image/avif'],
formats: ['image/jpeg', 'image/png', 'image/webp', 'image/avif'] satisfies NonNullable<NonNullable<NitroConfig['awsAmplify']>['imageSettings']>['formats'],

Check failure on line 77 in src/provider.ts

View workflow job for this annotation

GitHub Actions / ci

Property 'awsAmplify' does not exist on type 'NitroConfig'.
minimumCacheTTL: 60 * 5,
domains: moduleOptions.domains,
remotePatterns: [], // Provided by domains
Expand Down

0 comments on commit 5c4cd7c

Please sign in to comment.