[fix] [#32] Fix clj-kondo warnings

Note also related Encore-side PR:
https://github.com/taoensso/encore/pull/84
This commit is contained in:
Peter Taoussanis 2025-03-08 20:26:30 +01:00
parent bb3d351be8
commit c60f33edeb

View file

@ -35,6 +35,23 @@
;;;; Shared signal API
(declare ; Needed to avoid `clj-kondo` "Unresolved var" warnings
level-aliases
help:filters help:handler help:handler-dispatch-options
get-filters get-min-levels get-handlers get-handlers-stats
#?(:clj without-filters)
set-kind-filter! #?(:clj with-kind-filter)
set-ns-filter! #?(:clj with-ns-filter)
set-id-filter #?(:clj with-id-filter)
set-min-level! #?(:clj with-min-level)
#?(:clj with-handler) #?(:clj with-handler+)
add-handler! remove-handler! stop-handlers!
^:dynamic *ctx* set-ctx! #?(:clj with-ctx) #?(:clj with-ctx+)
^:dynamic *middleware* set-middleware! #?(:clj with-middleware) #?(:clj with-middleware+))
(sigs/def-api
{:sf-arity 4
:ct-call-filter impl/ct-call-filter