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

Property 'is:inline' does not exist on type 'SlotHTMLAttributes #9329

Closed
1 task
ricogallo opened this issue Dec 5, 2023 · 0 comments · Fixed by #9342
Closed
1 task

Property 'is:inline' does not exist on type 'SlotHTMLAttributes #9329

ricogallo opened this issue Dec 5, 2023 · 0 comments · Fixed by #9342
Labels
- P3: minor bug An edge case that only affects very specific usage (priority) feat: typescript Related to TypeScript (scope)

Comments

@ricogallo
Copy link

Astro Info

Astro                    v3.6.4
Node                     v20.6.1
System                   macOS (arm64)
Package Manager          npm
Output                   static
Adapter                  none
Integrations             @astrojs/tailwind

If this issue only occurs in one browser, which browser is a problem?

No response

Describe the Bug

Basically Astro needs to extend the SlotHTMLAttributes with:

interface SlotHTMLAttributes {
  "is:inline"?: boolean;
}

What's the expected result?

<slot is:inline>

should not complain

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-53gxxa?file=src%2Fcomponents%2FMyComponent.astro

Participation

  • I am willing to submit a pull request for this issue.
@github-actions github-actions bot added the needs triage Issue needs to be triaged label Dec 5, 2023
@florian-lefebvre florian-lefebvre added - P3: minor bug An edge case that only affects very specific usage (priority) feat: typescript Related to TypeScript (scope) and removed needs triage Issue needs to be triaged labels Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- P3: minor bug An edge case that only affects very specific usage (priority) feat: typescript Related to TypeScript (scope)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants