From efc16c386cd7b2c108d4c4bfa5a9aab229206db0 Mon Sep 17 00:00:00 2001 From: Peter Taoussanis Date: Mon, 30 Dec 2024 13:51:57 +0100 Subject: [PATCH] [fix] Fix shadow-cljs type warning --- src/taoensso/encore.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/taoensso/encore.cljc b/src/taoensso/encore.cljc index 7aa8a2df..ca5baf43 100644 --- a/src/taoensso/encore.cljc +++ b/src/taoensso/encore.cljc @@ -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)))