Comparing version 1.22.3 to 1.22.4
@@ -0,1 +1,7 @@ | ||
## 6 September 2019 | ||
### [1.22.4](https://github.com/artdecocode/typal/compare/v1.22.3...v1.22.4) | ||
- [fix] Print `*` in descriptions with new lines in _JSDoc_ rule. | ||
## 5 September 2019 | ||
@@ -2,0 +8,0 @@ |
@@ -936,3 +936,4 @@ #!/usr/bin/env node | ||
a = nb(this, a, c); | ||
return `${b} * @param ${a}`; | ||
const [d, ...e] = a.split("\n"); | ||
return [`@param ${d}`, ...e].map(g => `${b} * ${g}`).join("\n"); | ||
} | ||
@@ -939,0 +940,0 @@ } |
{ | ||
"name": "typal", | ||
"version": "1.22.3", | ||
"version": "1.22.4", | ||
"description": "Organises TypeDefs By Placing Them Into Types.Xml File To Be Embedded Into Source Code Compatible With VSCode And Google Closure Compiler, Generates Externs And Allows To Place Documentation In README Markdown.", | ||
@@ -5,0 +5,0 @@ "main": "compile/index.js", |
@@ -299,3 +299,5 @@ import parse from '@typedefs/parser' | ||
const s = this.toJSDoc(parentParam, closure, useNamespace) | ||
const p = `${ws} * @param ${s}` | ||
const [firstLine, ...rest] = s.split('\n') | ||
const m = [`@param ${firstLine}`, ...rest].map(l => `${ws} * ${l}`) | ||
const p = m.join('\n') | ||
return p | ||
@@ -302,0 +304,0 @@ } |
Sorry, the diff of this file is not supported yet
423404
5357