Skip to content

Commit

Permalink
fix: tsc errors in components (#8293)
Browse files Browse the repository at this point in the history
* fix: tsc errors in components.ts

* chore: changeset
  • Loading branch information
Princesseuh authored Aug 30, 2023
1 parent 7c67fa7 commit d9bd7cf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/nervous-beans-argue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Fix `tsc` errors inside `astro/components/index.ts`
4 changes: 4 additions & 0 deletions packages/astro/components/index.ts
Original file line number Diff line number Diff line change
@@ -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';

0 comments on commit d9bd7cf

Please sign in to comment.