diff --git a/README.md b/README.md index a58f873..0489057 100644 --- a/README.md +++ b/README.md @@ -800,7 +800,7 @@ interface MetaTagsProps { titleTemplate?: string; noindex?: boolean; nofollow?: boolean; - robotsProps?: AdditionalRobots; + robotsProps?: AdditionalRobotsProps; description?: string; canonical?: string; mobileAlternate?: MobileAlternate; @@ -822,10 +822,10 @@ interface JsonLdProps { } ``` -### AdditionalRobots +### AdditionalRobotsProps ```ts -interface AdditionalRobots { +interface AdditionalRobotsProps { nosnippet?: boolean; maxSnippet?: number; maxImagePreview?: 'none' | 'standard' | 'large'; diff --git a/src/lib/index.ts b/src/lib/index.ts index a6e7bd3..1cf15fc 100644 --- a/src/lib/index.ts +++ b/src/lib/index.ts @@ -3,7 +3,7 @@ export { default as JsonLd } from './JsonLd.svelte'; export type { MetaTagsProps, JsonLdProps, - AdditionalRobots, + AdditionalRobotsProps, MobileAlternate, LanguageAlternate, Twitter, diff --git a/src/lib/types.d.ts b/src/lib/types.d.ts index 0ca7b89..f47fdfa 100644 --- a/src/lib/types.d.ts +++ b/src/lib/types.d.ts @@ -10,7 +10,7 @@ export interface LanguageAlternate { href: string; } -export interface AdditionalRobots { +export interface AdditionalRobotsProps { nosnippet?: boolean; maxSnippet?: number; maxImagePreview?: 'none' | 'standard' | 'large'; @@ -141,7 +141,7 @@ export interface MetaTagsProps { titleTemplate?: string; noindex?: boolean; nofollow?: boolean; - robotsProps?: AdditionalRobots; + robotsProps?: AdditionalRobotsProps; description?: string; canonical?: string; mobileAlternate?: MobileAlternate;