mxd 3 years ago
parent
commit
c14f01c0c3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      magic-editor/src/console/src/scripts/parsing/parser.js

+ 1 - 1
magic-editor/src/console/src/scripts/parsing/parser.js

@@ -842,7 +842,7 @@ function getType(object) {
     if(type === 'Integer' && Number(object.span.getText()) > 0x7fffffff || Number(object.span.getText()) < -0x80000000){
         return 'Long'
     }
-    return type === 'null' ? 'Object' : '';
+    return type === 'null' ? 'Object' : type;
 }
 
 export function parseJson(bodyStr){