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) {
|
.map(function(exportDoc) {
|
||||||
// if it ends with "Decorator", we store it in the map
|
// if it ends with "Decorator", we store it in the map
|
||||||
// to later merge with the token
|
// to later merge with the token
|
||||||
if (exportDoc.name.endsWith("Decorator")) {
|
if (exportDoc.name.endsWith("Decorator") && exportDoc.callMember) {
|
||||||
var p = processExportDoc(exportDoc.callMember);
|
var p = processExportDoc(exportDoc.callMember);
|
||||||
decorators[exportDoc.name] = {
|
decorators[exportDoc.name] = {
|
||||||
stability : p.stability,
|
stability : p.stability,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user