Skip to content
Permalink
Browse files

tools, feat: mark all 'Object' as 'object' (#465)

  • Loading branch information...
richardo2016 authored and xicilion committed Sep 1, 2018
1 parent e84d08c commit 414569521d705d8da87b22229a0a0ef059a2685b
Showing with 4 additions and 0 deletions.
  1. +4 −0 tools/util/gen_ts_type.js
@@ -113,6 +113,10 @@ module.exports = function (defs, baseFolder) {
}

function uglifyTypeInDefObjects(typeName) {
if (typeName === 'Object') {
return 'object'
}

if (!defObjects[typeName]) {
return typeName
}

0 comments on commit 4145695

Please sign in to comment.
You can’t perform that action at this time.