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.
provider
1 parent 3654b3e commit 64c76eeCopy full SHA for 64c76ee
src/types/image.ts
@@ -1,6 +1,6 @@
1
import type { RuntimeConfig } from '@nuxt/schema'
2
import type { H3Event } from 'h3'
3
-import type { ConfiguredImageProviders, ProviderDefaults } from './module'
+import type { ConfiguredImageProviders, ImageProviders, ProviderDefaults } from './module'
4
5
export interface ImageModifiers {
6
width: number | string
@@ -55,7 +55,7 @@ export interface CreateImageOptions {
55
}
56
event?: H3Event
57
presets: { [name: string]: ImageOptions }
58
- provider: string
+ provider: (string & {}) | keyof ImageProviders
59
screens: Record<string, number>
60
alias: Record<string, string>
61
domains: string[]
0 commit comments