Skip to content

Commit 1f94239

Browse files
committed
Fix for compute types
1 parent 3f828e2 commit 1f94239

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Diff for: gulpfile.js

+2
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ gulp.task('analyze', ['clean:target', 'pre-analyze'], function() {
112112
"!" + globalVar.bowerDir + "*/*web-animations.html",
113113
// Not useful in gwt and also has spurious event names
114114
"!" + globalVar.bowerDir + "*/*iron-jsonp-library.html",
115+
//
116+
"!" + globalVar.bowerDir + "*/iron-doc*.html",
115117
])
116118
.pipe(map(function(file, cb) {
117119
hyd.Analyzer.analyze(globalVar.bowerDir + file.relative).then(function(result) {

Diff for: template/helpers.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ module.exports = {
107107
// We should be able to overload those methods instead of using
108108
// Object, but JsInterop does not support well overloading
109109
if (/.*\|.*/.test(t)) return 'Object';
110-
if (/^string/i.test(t)) return 'String';
110+
if (/^string|^computed/i.test(t)) return 'String';
111111
if (/^boolean/i.test(t)) return 'boolean';
112112
if (/^array/i.test(t)) return 'Array<E>';
113113
if (/^element/i.test(t)) return 'Element';

0 commit comments

Comments
 (0)