Skip to content

TypeScript interface issues #1484

Closed
renovatebot/renovate
#199
@azz

Description

@azz

Ran into a couple of issues with interfaces:

The colon here should be a semi-colon:

$ echo "interface X { x }" | ./bin/prettier.js --parser typescript
interface X { x:  }

The prefix is not displayed if the body is empty:

$ echo "interface X {  }" | ./bin/prettier.js --parser typescript
{}

cc. @despairblue

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:has prIssues with an accompanying pull request. These issues will probably be fixed soon!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions