Comparing version 1.24.19 to 1.24.20
@@ -0,1 +1,7 @@ | ||
## 26 December 2019 | ||
### [1.24.20](https://github.com/artdecocode/typal/compare/v1.24.19...v1.24.20) | ||
- [fix] Fix the typedef order of extended types (nominal comes first). | ||
## 21 December 2019 | ||
@@ -2,0 +8,0 @@ |
@@ -1295,3 +1295,3 @@ #!/usr/bin/env node | ||
} | ||
d && (c = ` * @typedef {${this.extends.split(/,\s*/).join(" & ")} & ${Hb(this, c)}} ${c ? this.fullName : this.name}${this.l}`, a && !b && (c = O(c)), c = N(c), g.push(c)); | ||
d && (c = ` * @typedef {${Hb(this, c)} & ${this.extends.split(/,\s*/).join(" & ")}} ${c ? this.fullName : this.name}${this.l}`, a && !b && (c = O(c)), c = N(c), g.push(c)); | ||
g.push(e); | ||
@@ -1298,0 +1298,0 @@ return g.join(""); |
{ | ||
"name": "typal", | ||
"version": "1.24.19", | ||
"version": "1.24.20", | ||
"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.", | ||
@@ -82,3 +82,3 @@ "main": "compile/index.js", | ||
"depack": "^1.0.1", | ||
"documentary": "^1.35.2", | ||
"documentary": "^1.35.9", | ||
"erotic": "^2.1.1", | ||
@@ -85,0 +85,0 @@ "erte": "^1.2.0", |
@@ -257,3 +257,4 @@ import extractProperties from './extract-props' | ||
if (hasExtends) { | ||
let extended = ` * @typedef {${this.extends.split(/,\s*/).join(' & ')} & ${this.getFullNameForExtends(useNamespace)}} ${useNamespace ? this.fullName : this.name}${this.descriptionWithTag}` | ||
const ne = this.getFullNameForExtends(useNamespace) | ||
let extended = ` * @typedef {${ne} & ${this.extends.split(/,\s*/).join(' & ')}} ${useNamespace ? this.fullName : this.name}${this.descriptionWithTag}` | ||
if (closure && !noSuppress) extended = addSuppress(extended) | ||
@@ -260,0 +261,0 @@ extended = makeBlock(extended) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
481706
6076