block-content-to-markdown
block-content-to-markdown copied to clipboard
TypScript
Add typing so that when you use you do not get an error
Could not find a declaration file for module '@sanity/block-content-to-markdown'. '/Users/afa/web/codingcatdev/codingcat.dev/node_modules/.pnpm/@[email protected]/node_modules/@sanity/block-content-to-markdown/lib/toMarkdown.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/sanity__block-content-to-markdown` if it exists or add a new declaration (.d.ts) file containing `declare module '@sanity/block-content-to-markdown';`ts(7016)