summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorGravatar Erika <3019731+Princesseuh@users.noreply.github.com> 2023-08-30 17:54:04 +0200
committerGravatar GitHub <noreply@github.com> 2023-08-30 17:54:04 +0200
commitd9bd7cf5ce4086d9dd59e372ca25d4c4cfdb05f6 (patch)
tree199174d57352332d3d6e5d2ff95913c11580f39b /packages
parent7c67fa77b22bd877d9e96c825404ec02732b47fd (diff)
downloadastro-d9bd7cf5ce4086d9dd59e372ca25d4c4cfdb05f6.tar.gz
astro-d9bd7cf5ce4086d9dd59e372ca25d4c4cfdb05f6.tar.zst
astro-d9bd7cf5ce4086d9dd59e372ca25d4c4cfdb05f6.zip
fix: tsc errors in components (#8293)
* fix: tsc errors in components.ts * chore: changeset
Diffstat (limited to 'packages')
-rw-r--r--packages/astro/components/index.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/astro/components/index.ts b/packages/astro/components/index.ts
index 864c7cc3b..13ab357a4 100644
--- a/packages/astro/components/index.ts
+++ b/packages/astro/components/index.ts
@@ -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';