Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Commit

Permalink
fix inference warning
Browse files Browse the repository at this point in the history
  • Loading branch information
thheller committed Sep 8, 2020
1 parent b267bca commit 02765f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/shadow/experiments/grove/components.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,8 @@
(.get-hook-value comp idx))

(defn get-events [^ManagedComponent comp]
(.. comp -config -events))
;; FIXME: ... loses typehints?
(. ^clj (. comp -config) -events))

(defn hook-invalidate! [^ManagedComponent comp idx]
(.invalidate-hook! comp idx))
Expand Down

0 comments on commit 02765f3

Please sign in to comment.