Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

TSPropertySignature has no computed flag #262

Closed
@azz

Description

@azz

What version of TypeScript are you using?

2.3.2

What version of typescript-eslint-parser are you using?

a294afa

What code were you trying to parse?

var x: { [y]: any };

What did you expect to happen?

TSPropertySignature to have a computed: true property.

What happened?

No computed property.

In prettier, we currently print this as var x: { y: any }, which is incorrect.

prettier/prettier#1480

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions