Update createDocs.js

This commit is contained in:
DJj123dj
2025-01-31 17:14:56 +01:00
parent f5e78949d7
commit ac587568d3
+6 -2
View File
@@ -153,6 +153,11 @@ for (const file of result.children){
//CLASS => METHOD //CLASS => METHOD
memberDetails = handleFunction(member) memberDetails = handleFunction(member)
memberComment = memberDetails.comment memberComment = memberDetails.comment
}else if (memberType == "constructor"){
//CLASS => CONSTRUCTOR
memberDetails = handleFunction(member)
memberComment = memberDetails.comment
} }
declarationChildren.push({ declarationChildren.push({
@@ -211,7 +216,7 @@ for (const file of result.children){
let memberDetails = null let memberDetails = null
if (memberType == "enumerable"){ if (memberType == "enumerable"){
//INTERFACE => PROPERTY //ENUM => ENUMERABLE
memberDetails = handleType(member.type) memberDetails = handleType(member.type)
} }
@@ -227,7 +232,6 @@ for (const file of result.children){
//VARIABLE //VARIABLE
declarationChildren.push(handleType(declaration.type)) declarationChildren.push(handleType(declaration.type))
}else if (declarationType == "other"){
} }
exported.push({ exported.push({