Skip to content

Commit

Permalink
fix(docgen): typescript: restore "defaultValue"
Browse files Browse the repository at this point in the history
  • Loading branch information
drauggres committed Dec 25, 2019
1 parent 6f231c6 commit f70d3b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ class GlobalTemplateWriter {
*/
normalizeParameter(paramNode) {
if (paramNode.name === 'default') {
paramNode.name = 'default_';
paramNode.name = 'defaultValue';
} else if (paramNode.name === 'function') {
paramNode.name = 'func';
}
Expand Down

0 comments on commit f70d3b3

Please sign in to comment.