@forge42/seo-tools
Version:
Framework agnostic set of helpers designed to help you create, maintain and develop your SEO
18 lines (15 loc) • 500 B
text/typescript
import { Course, WithContext } from 'schema-dts';
export { Course } from 'schema-dts';
/**
* This helper is used to generate a course ld+json structured data object.
*
*
* Find more information about the course schema here:
*
*
* https://developers.google.com/search/docs/appearance/structured-data/course
* @param course Course object
* @returns Course object to be used in head via json-ld script tag
*/
declare const course: (course: Course) => WithContext<Course>;
export { course };