Comparing version 2.2.0 to 2.3.0
@@ -134,3 +134,4 @@ "use strict"; | ||
const p = doclet.properties[i]; | ||
props.push(ts.createEnumMember(p.name, undefined)); | ||
const l = p.defaultvalue !== undefined ? ts.createLiteral(p.defaultvalue) : undefined; | ||
props.push(ts.createEnumMember(p.name, l)); | ||
} | ||
@@ -137,0 +138,0 @@ } |
@@ -255,3 +255,2 @@ "use strict"; | ||
} | ||
console.log(`childTypes nodes: ${childTypes.length}`); | ||
for (var i = 0; i < node.children.length - 1; ++i) { | ||
@@ -258,0 +257,0 @@ const param = ts.createParameter(undefined, undefined, undefined, 'arg' + i, undefined, childTypes[i], undefined); |
{ | ||
"name": "tsd-jsdoc", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"description": "Compiles JSDoc annotated javascript into a Typescript Declaration File (.d.ts).", | ||
@@ -5,0 +5,0 @@ "main": "dist/publish.js", |
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
89672