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
Description
What version of TypeScript are you using?
2.3.2
What version of typescript-eslint-parser
are you using?
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.