We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 952c7d1 commit 1724581Copy full SHA for 1724581
cli/lib/tsd-jsdoc/publish.js
@@ -295,7 +295,7 @@ function getTypeOf(element) {
295
name = name.replace(/\bfunction(?:\(\))?\b/g, "Function");
296
297
// Convert plain Object back to just object
298
- name = name.replace(/\b(Object(?!\.))/g, function($0, $1) {
+ name = name.replace(/\b(Object\b(?!\.))/g, function($0, $1) {
299
return $1.toLowerCase();
300
});
301
0 commit comments