Skip to content

Commit

Permalink
fix: treat float in Node.js as number (#1434)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt authored Jul 5, 2024
1 parent b6bc064 commit ed8a76a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/format_js.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ class JavaScriptFormatter {
switch (text) {
case 'int': return '[number]';
case 'float': return '[number]';
case 'long': return '[number]';
case 'path': return '[string]';
case 'any': return '[Object]';
}
Expand Down

0 comments on commit ed8a76a

Please sign in to comment.