Fork me on GitHub

About the clj-kondo integration, is malli annotations compatible with the clj-kondo ones? As in if something is typed string on malli and is passed to a core function that only accepts numbers, will it show as a warning?


@mynomoto this doesn't work automatically, you should execute some code to make malli spit out type information to a clj-kondo config directory and you should opt in to this config dir via :config-paths


I'm assuming that the developer did the correct project configuration. The question is more about if a malli string is a clj-kondo string when doing the type inference.


This is great, thanks! I was wondering if a project to add malli type annotations to core functions would be useful for type inference but I'm glad that it is not necessary.