We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38fa4c2 commit 22e3dc4Copy full SHA for 22e3dc4
src/main/clojure/cljs/externs.clj
@@ -73,11 +73,10 @@
73
{:tag (get-tag ty)}
74
(if (or (.isConstructor info) (.isInterface info))
75
(let [qname (symbol (.. node getFirstChild getQualifiedName))]
76
- (cond-> (merge {:tag 'Function}
77
- (when (.hasBaseType info)
78
- {:super (get-tag (.getBaseType info))}))
+ (cond-> {:tag 'Function}
79
(.isConstructor info) (merge {:ctor qname})
80
- (.isInterface info) (merge {:iface qname})))
+ (.isInterface info) (merge {:iface qname})
+ (.hasBaseType info) (merge {:super (get-tag (.getBaseType info))})))
81
(if (or (.hasReturnType info)
82
(as-> (.getParameterCount info) c
83
(and c (pos? c))))
0 commit comments