nuxt-jsonld
nuxt-jsonld copied to clipboard
How do I import the JsonLD TypeScript type from 'nuxt-jsonld'
I am wondering what the correct way to import the JsonLD or JsonLDFunc types are?
This does not work:
import type { JsonLD } from 'nuxt-jsonld'
This does, but is probably not the best way?
import type JsonLD from 'nuxt-jsonld/dist/types/index.d'
Thanks!