* add transform-class-properties to stage 3, set spec mode to default * update readme with examples; use `buildUndefinedNode()`; change behavior to always define both static and nonstatic class properties regardless of spec/loose mode; update tests
12 lines
156 B
JavaScript
12 lines
156 B
JavaScript
export default param =>
|
|
class App {
|
|
static props = {
|
|
prop1: 'prop1',
|
|
prop2: 'prop2'
|
|
}
|
|
|
|
getParam() {
|
|
return param;
|
|
}
|
|
}
|