core-typed 2022-06-06

Hi, what the way to deal with this error: (use typedclojure with malli)

We need an annotation for update, it's missing in typedclojure.

This is a case where we could use finer grained backdoors to the type system. The current workaround is to use (t/ann ^:no-check ...) on the var/s that contain update

possibly something like (^::t/unchecked-fn update ...) so the args are checked but not the application itself.

Try this as a workaround in https://github.com/typedclojure/typedclojure/blob/main/CHANGELOG.md#1030-20220504:

(^{::t/unsafe-cast t/Nothing} ^::t/ignore update ...)

Thank @ambrosebs for your answers. I will try that.