Open bennycode opened 9 months ago
@prototypa, could this error originate from the fact the import comes from a file with a .astro
extension?
There is the allowArbitraryExtensions compiler flag which states that it needs a *.d.astro.ts
file for a custom extension like this.
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.