Skip to content

declare keyword not formatted for a particular namespace name #15207

@ematipico

Description

@ematipico

Prettier 3.0.1
Playground link

# Options (if any):

Input:

declare namespace astroHTML.JSX {}

Output:

namespace astroHTML.JSX {}

Expected behavior:

declare namespace astroHTML.JSX {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    lang:typescriptIssues affecting TypeScript-specific constructs (not general JS issues)locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.status:needs investigationIssues that need additional investigation, e.g. to understand whether the reported behavior is a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions