jonasmerlin / astro-seo

Makes it easy to add information that is relevant for SEO to your Astro app.
MIT License
908 stars 50 forks source link

Can't export `Props` into plain typescript file #92

Closed mikestopcontinues closed 5 months ago

mikestopcontinues commented 5 months ago

I'm simply trying to:

import type {Props} from 'astro-seo';

But I get this error:

Module '"astro-seo"' has no exported member 'Props'.

I can successfully import into a .astro file. Just not a .ts file.

jonasmerlin commented 5 months ago

@mikestopcontinues Thanks for reporting this. Is should be fixed in v0.8.3.

You should now be able to do the following:

import { type SEOProps } from "astro-seo"

Can you please try this and report if it works for you now?

mikestopcontinues commented 5 months ago

Thanks @jonasmerlin, works like a charm!