Skip to content

Commit

Permalink
[fix] Fix shadow-cljs type warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ptaoussanis committed Dec 30, 2024
1 parent d648223 commit efc16c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/taoensso/encore.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -4400,7 +4400,7 @@
(defn sb-length
"Returns given string builder's current length (character count)."
{:added "Encore v3.107.0 (2024-05-05)"}
#?(:clj ^long [^StringBuilder sb] :cljs [sb])
#?(:clj ^long [^StringBuilder sb] :cljs [^goog.string.StringBuffer sb])
#?(:clj (.length sb)
:cljs (.getLength sb)))

Expand Down

0 comments on commit efc16c3

Please sign in to comment.