From ab51b433653c5c3f402983738bfab92bf7cc1c9d Mon Sep 17 00:00:00 2001 From: Florian Schroedl Date: Mon, 24 Jun 2024 12:44:05 +0200 Subject: [PATCH] Add type --- frontend/src/app/main/ui/workspace/tokens/style_dictionary.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/workspace/tokens/style_dictionary.cljs b/frontend/src/app/main/ui/workspace/tokens/style_dictionary.cljs index 104ee9c2d..7b6393648 100644 --- a/frontend/src/app/main/ui/workspace/tokens/style_dictionary.cljs +++ b/frontend/src/app/main/ui/workspace/tokens/style_dictionary.cljs @@ -17,7 +17,7 @@ (do (sd-transforms/registerTransforms sd) (.registerFormat sd #js {:name "custom/json" - :format (fn [res] + :format (fn [^js res] (.-tokens (.-dictionary res)))}) sd))