Checkbox d.ts updated build-apidoc slot changes

This commit is contained in:
Bahadır Sofuoğlu 2023-03-01 13:44:06 +03:00
parent 22a13a4f2f
commit 4a723837a1
2 changed files with 43 additions and 10 deletions

View file

@ -307,7 +307,7 @@ if (project) {
methods.push({
name: signature.name,
parameters: signature.parameters.map((param) => {
let type = param.type.toString();
/* let type = param.type.toString();
if (param.type.declaration) {
type = '';
@ -317,12 +317,12 @@ if (project) {
});
type = `{\n ${type} }`;
}
} */
return {
name: param.name,
optional: param.flags.isOptional,
type: type,
type: param.type.toString(),
description: param.comment && param.comment.summary.map((s) => parseText(s.text || '')).join(' ')
};
}),