UNPKG

@blazity/next-image-proxy

Version:

Next.js image proxy. Makes it possible to use dynamic domains in next/image component.

13 lines (12 loc) 359 B
export declare type DeepPartial<T> = T extends Function ? T : T extends object ? { [P in keyof T]?: DeepPartial<T[P]>; } : T; export interface Options { whitelistedPatterns: (string | RegExp)[]; messages: { wrongFormat: string; notWhitelisted: string; imageFetchError: string; }; fallbackUrl: string; }