Skip to content

Unused '@ts-expect-error' directive. #14516

@deepanshu88

Description

@deepanshu88

Astro Info

Astro                    v5.14.3
Vite                     v6.3.6
Node                     v22.14.0
System                   Windows (x64)
Package Manager          npm
Output                   static
Adapter                  @astrojs/cloudflare (v12.6.10)

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

No response

Describe the Bug

TypeScript didn’t detect any error but keeps coming Unused '@ts-expect-error' directive
in node_modules\astro\components\Picture.astro

What's the expected result?

Suppress the warning

Link to Minimal Reproducible Example

/

Participation

  • I am willing to submit a pull request for this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs reproIssue needs a reproduction

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions