Skip to content

Commit

Permalink
Fix param jsdoc formatting (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhelx authored Sep 26, 2024
1 parent d6ed3bb commit dda136b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion template/src/main.ts.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
* <%- formatCommentBlock(ex.description) %>
*
<% if (hasComment(ex.input)) { -%>
* @param input {<%- toTypeScriptType(ex.input) %>} <%- formatCommentLine(ex.input.description) %>
* @param {<%- toTypeScriptType(ex.input) %>} input - <%- formatCommentLine(ex.input.description) %>
<% } -%>
<% if (hasComment(ex.output)) { -%>
* @returns {<%- toTypeScriptType(ex.output) %>} <%- formatCommentLine(ex.output.description) %>
Expand Down
2 changes: 1 addition & 1 deletion template/src/pdk.ts.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export enum <%- schema.name %> {
* <%- formatCommentBlock(imp.description) %>
*
<% if (hasComment(imp.input)) { -%>
* @param input {<%- toTypeScriptType(imp.input) %>} <%- formatCommentLine(imp.input.description) %>
* @param {<%- toTypeScriptType(imp.input) %>} input - <%- formatCommentLine(imp.input.description) %>
<% } -%>
<% if (hasComment(imp.output)) { -%>
* @returns {<%- toTypeScriptType(imp.output) %>} <%- formatCommentLine(imp.output.description) %>
Expand Down

0 comments on commit dda136b

Please sign in to comment.