Skip to content

Commit

Permalink
Add "method" to API docs in METAPROGRAMMING (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
courajs authored and littledan committed Jan 13, 2019
1 parent 999bba1 commit d898a40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion METAPROGRAMMING.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,15 @@ A class element descriptor with the following properties:
key: String, Symbol or Private Name,
placement: "static", "prototype" or "own",
...Property Descriptor (argument to Object.defineProperty),
method: The method itself
}
```

#### Returns

A class element descriptor with the following properties:

`{ kind, key, placement, ...descriptor, extras?, }`
`{ kind, key, placement, ...descriptor, method, extras?, }`

### Class Decorator

Expand Down

0 comments on commit d898a40

Please sign in to comment.