diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/DocGen/CGen.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DocGen/CGen.ts b/src/DocGen/CGen.ts index d6c45cf..13ecbf1 100644 --- a/src/DocGen/CGen.ts +++ b/src/DocGen/CGen.ts @@ -147,7 +147,7 @@ export default class CGen implements IDocGen { if (this.returnTemplate.trim().length !== 0 && this.retVals.length > 0) { if (this.includeTypeAtReturn === false) { - this.retVals = this.retVals.map((t) => t === "true" || t === "false" ? t : ""); + this.retVals = this.retVals.map((t) => t === "true" || t === "false" || t === "null" ? t : ""); } this.generateFromTemplate(lines, this.templateTypeReplace, this.returnTemplate, this.retVals); |