ES6 object property fields
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 194
- Avg merge
- 22h 43m
- Merged PRs (30d)
- 10
Description
From `es6.js`:
```
def("Property")
.field("key", or(def("Literal"), def("Identifier"), def("Expression")))
.field("value", or(def("Expression"), def("Pattern")))
.field("method", Boolean, defaults["false"])
.field("shorthand", Boolean, defaults["false"])
.field("computed", Boolean, defaults["false"]);
```
How do I set the `method`, `shorthand`, and `computed` fields of a property?
I might be wrong, but shouldn't `build` be called with these properties?
Contributor guide
No contributing guide indexed for this repository
Research direction
Read the Property definition in es6.js, then trace the build entry point to see how method, shorthand, and computed are handled. Done means establishing whether build accepts these fields and recording or implementing the expected behavior with a corresponding verification.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100