Open leopoldkristjansson opened 9 months ago
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!
You'll have to use import type { Thing } from 'schema-dts' or import type { Graph } from 'schema-dts', etc.
import type { Thing } from 'schema-dts'
import type { Graph } from 'schema-dts'
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!