Don't parse class properties without initializers when classProperties is disabled and Flow is enabled (#300)
This commit is contained in:
committed by
Daniel Tschinder
parent
56a92ccec1
commit
aec4beff0c
3
test/fixtures/experimental/class-properties/with-initializer-missing-plugin/options.json
vendored
Normal file
3
test/fixtures/experimental/class-properties/with-initializer-missing-plugin/options.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"throws": "You can only use Class Properties when the 'classProperties' plugin is enabled. (2:2)"
|
||||
}
|
||||
Reference in New Issue
Block a user