Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: tsc errors in components #8293

Merged
merged 2 commits into from
Aug 30, 2023
Merged

fix: tsc errors in components #8293

merged 2 commits into from
Aug 30, 2023

Conversation

Princesseuh
Copy link
Member

@Princesseuh Princesseuh commented Aug 30, 2023

Changes

The new astro:components's types in client.d.ts meansn that astro/component/index.ts gets included in the TypeScript project. This causes errors in tsc because that file is not supposed to be really type checked. This PR adds some comments to tell tsc that it's ok, really

Fix #8291

Testing

Tested manually

Docs

N/A

@changeset-bot
Copy link

changeset-bot bot commented Aug 30, 2023

🦋 Changeset detected

Latest commit: 553bd90

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing type declarations in Astro v3.0.0
2 participants