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.
ClassProperty and MethodDeclaration Visibility Declarations #87
Closed
Description
What version of TypeScript are you using?
2.0.2
What version of typescript-eslint-parser
are you using?
0.2.0
What code were you trying to parse?
class Animal {
public name: string
}
What did you expect to happen?
I expected an ASTNode
for ClassProperty
with public
represented on it.
What happened?
I had to use context.getText(node)
to do a string find for the visibility declaration. I'm wondering if I either missed something or if we are missing it in the conversion.
References this PR on the typescript-plugin
bradzacher/eslint-plugin-typescript#4 (comment)