You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed @astrolib/seo v1.0.0-beta.4 in my TS project but when I run npx tsc --noEmit I am getting the following errors:
node_modules/@astrolib/seo/index.ts:4:37 - error TS2307: Cannot find module './src/AstroSeo.astro' or its corresponding type declarations.
4 export { default as AstroSeo } from "./src/AstroSeo.astro";
node_modules/@astrolib/seo/index.ts:5:15 - error TS2307: Cannot find module './src/AstroSeo.astro' or its corresponding type declarations.
5 export * from "./src/AstroSeo.astro";
I checked my code that imports from @astrolib/seo and it looks like it offers 2 type definitons for the same root package (located in ./index.ts and ./src/types.ts):
How can I tell TS to use only one of the two? I am running on TypeScript Version 5.2.2.
The text was updated successfully, but these errors were encountered:
I installed
@astrolib/seo
v1.0.0-beta.4 in my TS project but when I runnpx tsc --noEmit
I am getting the following errors:I checked my code that imports from
@astrolib/seo
and it looks like it offers 2 type definitons for the same root package (located in./index.ts
and./src/types.ts
):How can I tell TS to use only one of the two? I am running on TypeScript Version 5.2.2.
The text was updated successfully, but these errors were encountered: