fix(api-builder): tighten up check for decorator (#3369)
This commit is contained in:
parent
9386a6606f
commit
0cc9ad2acd
|
@ -132,7 +132,7 @@ module.exports = function addJadeDataDocsProcessor() {
|
|||
.map(function(exportDoc) {
|
||||
// if it ends with "Decorator", we store it in the map
|
||||
// to later merge with the token
|
||||
if (exportDoc.name.endsWith("Decorator")) {
|
||||
if (exportDoc.name.endsWith("Decorator") && exportDoc.callMember) {
|
||||
var p = processExportDoc(exportDoc.callMember);
|
||||
decorators[exportDoc.name] = {
|
||||
stability : p.stability,
|
||||
|
|
Loading…
Reference in New Issue