Closed TaraBryn closed 1 year ago
import { useSanityClient } from "astro-sanity";
"Cannot find module 'astro-sanity' or its corresponding type declarations.ts(2307)"
Astro Version: 1.9.0 astro-sanity version: 1.1.2
https://codesandbox.io/p/sandbox/interesting-beaver-49l53r?file=%2Fsrc%2Fpages%2Findex.astro&selection=%5B%7B%22endColumn%22%3A29%2C%22endLineNumber%22%3A14%2C%22startColumn%22%3A4%2C%22startLineNumber%22%3A14%7D%5D
Yeah, dts are missing
Also commenting about this one - let us know if we can help at all!
Closing this as it should now resolved in v1.1.3. Thanks again @gksander!
v1.1.3
Code:
import { useSanityClient } from "astro-sanity";
Error:
"Cannot find module 'astro-sanity' or its corresponding type declarations.ts(2307)"
Versions
Astro Version: 1.9.0 astro-sanity version: 1.1.2
Minimum reproducible example:
https://codesandbox.io/p/sandbox/interesting-beaver-49l53r?file=%2Fsrc%2Fpages%2Findex.astro&selection=%5B%7B%22endColumn%22%3A29%2C%22endLineNumber%22%3A14%2C%22startColumn%22%3A4%2C%22startLineNumber%22%3A14%7D%5D