artiebits / svelte-seo

Optimize your website for search engines and social media with meta tags, Open Graph, and JSON-LD.
https://artiebits.com
MIT License
429 stars 24 forks source link

Argument of type 'typeof SvelteSeo' is not assignable to parameter of type ConstructorOfATypedSvelteComponent ...... #49

Closed woss closed 1 year ago

woss commented 1 year ago

After following the installation from the readme.md i get this error.

Svelte version: "svelte": "3.54.0", Kit: "@sveltejs/kit": "1.0.1", SvelteSeo: "svelte-seo": "1.4.1",

Import:

import SvelteSeo from 'svelte-seo';
image
lubiah commented 1 year ago

This is a typescript issue

woss commented 1 year ago

thank you, very helpful, any suggestions on how to fix it @kudadam ?

lubiah commented 1 year ago

@woss , I'm not able to reproduce the issue, do you mind sending me your repo so I can take a look at it

woss commented 1 year ago

the funny thing is that i cannot repro this anymore. :(

it has been bothering me for 4 days and now just gone 🤔

I'm closing this, and will reopen if it happens again