@forge42/seo-tools
Version:
Framework agnostic set of helpers designed to help you create, maintain and develop your SEO
13 lines (10 loc) • 412 B
TypeScript
import { Product, WithContext } from 'schema-dts';
export { Product } from 'schema-dts';
/**
* This helper is used to generate a Product ld+json structured data object.
* @param product Product object
* @see https://schema.org/Product
* @returns Returns a Product object to be used in head via json-ld script tag
*/
declare const product: (product: Product) => WithContext<Product>;
export { product };