Computed class properties (#4500)
* Support computed class property names (#4499) ** Depends on babel/babylon#121 ** * `babel-types`: Add `computed` field to `ClassProperty` * `babel-plugin-transform-class-properties`: handle computed property names correctly * `babel-generator`: add tests for class properties (computed/literal, static/instance) * doc: Update babel-types with ClassProperty.computed * chore(package): update babylon to v6.11.0 * babel-types: move ClassProperty.computed to be last builder arg
This commit is contained in:
committed by
Daniel Tschinder
parent
a81a0d0f84
commit
03d772c2ec
@@ -33,7 +33,7 @@
|
||||
"babel-register": "^6.14.0",
|
||||
"babel-traverse": "^6.14.0",
|
||||
"babel-types": "^6.14.0",
|
||||
"babylon": "^6.9.0",
|
||||
"babylon": "^6.11.0",
|
||||
"convert-source-map": "^1.1.0",
|
||||
"debug": "^2.1.1",
|
||||
"json5": "^0.4.0",
|
||||
|
||||
Reference in New Issue
Block a user