We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TS and JS Grammar Extension version: 0.0.49 / latest
Code
class Foo { prop = () => this.condition ? fn(this.value) : fn(this.value) }
All variations I've tried do work, including putting the whole prop method on one line, having just : fn(value), : fn(this['value']), etc.
prop
: fn(value)
: fn(this['value'])
The text was updated successfully, but these errors were encountered:
c90df96
Match anything following ternary ':' as expression in class body as f…
31b00a7
…allback Fixes #721 and #724
No branches or pull requests
TS and JS Grammar Extension version: 0.0.49 / latest
Code
All variations I've tried do work, including putting the whole
prop
method on one line, having just: fn(value)
,: fn(this['value'])
, etc.The text was updated successfully, but these errors were encountered: