Skip to content

Commit

Permalink
fix: render typeParameter
Browse files Browse the repository at this point in the history
  • Loading branch information
crucialfelix committed Jan 9, 2020
1 parent 548fdc2 commit 0f3a05c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tasks/render-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,9 @@ const type = obj => {
case "intersection": {
return obj.types.map(type).join(" & ");
}
case "typeParameter": {
return obj.name;
}
default:
console.error(obj);

Expand Down

0 comments on commit 0f3a05c

Please sign in to comment.