fix: tsc errors in components (#8293)

* fix: tsc errors in components.ts

* chore: changeset
This commit is contained in:
Erika 2023-08-30 17:54:04 +02:00 committed by GitHub
parent 7c67fa77b2
commit d9bd7cf5ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
'astro': patch
---
Fix `tsc` errors inside `astro/components/index.ts`

View file

@ -1,2 +1,6 @@
// The `ts-expect-error` comments here are necessary because we're importing this file inside the `astro:components`
// virtual module's types, which means that `tsc` will try to resolve these imports. Don't mind the editor errors.
// @ts-expect-error
export { default as Code } from './Code.astro';
// @ts-expect-error
export { default as Debug } from './Debug.astro';