Skip to content

Commit

Permalink
Fix for compute types
Browse files Browse the repository at this point in the history
  • Loading branch information
manolo committed Sep 26, 2017
1 parent 3f828e2 commit 1f94239
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions gulpfile.js
Expand Up @@ -112,6 +112,8 @@ gulp.task('analyze', ['clean:target', 'pre-analyze'], function() {
"!" + globalVar.bowerDir + "*/*web-animations.html",
// Not useful in gwt and also has spurious event names
"!" + globalVar.bowerDir + "*/*iron-jsonp-library.html",
//
"!" + globalVar.bowerDir + "*/iron-doc*.html",
])
.pipe(map(function(file, cb) {
hyd.Analyzer.analyze(globalVar.bowerDir + file.relative).then(function(result) {
Expand Down
2 changes: 1 addition & 1 deletion template/helpers.js
Expand Up @@ -107,7 +107,7 @@ module.exports = {
// We should be able to overload those methods instead of using
// Object, but JsInterop does not support well overloading
if (/.*\|.*/.test(t)) return 'Object';
if (/^string/i.test(t)) return 'String';
if (/^string|^computed/i.test(t)) return 'String';
if (/^boolean/i.test(t)) return 'boolean';
if (/^array/i.test(t)) return 'Array<E>';
if (/^element/i.test(t)) return 'Element';
Expand Down

0 comments on commit 1f94239

Please sign in to comment.