Allow flow class field to be named constructor (#510)
This commit is contained in:
committed by
Daniel Tschinder
parent
0e12f565da
commit
9d1f819320
5
test/fixtures/flow/classes/constructor-with-class-prop-plugin/actual.js
vendored
Normal file
5
test/fixtures/flow/classes/constructor-with-class-prop-plugin/actual.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
class A {
|
||||
constructor(): Object {
|
||||
return {};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user