URL: https://docs.astro.build/en/tutorials/add-content-collections/
When creating file src/content/config.ts and adding it's contents from the tutorial a typescript throws an error Cannot find module 'astro:content' or its corresponding type declarations.ts(2307)
After a quick google search, I stumbled upon this issue withastro/astro#5711 and running npx astro sync command has resolved this problem (by creating src/env.d.ts file)
I'll provide a PR shortly in order to update the tutorial page