lsp

frankitox 2025-07-16T17:48:24.938849Z

Hello! I'm trying to use add-missing-libspecwith a cljs file that has something like (let [my-ref (react/createRef)] ...)

ericdallo 2025-07-17T12:28:45.646969Z

it does, but nothing related with consistent-alias, do you have a simple repro I can try? like https://github.com/ericdallo/clojure-sample

frankitox 2025-07-18T02:27:39.129779Z

Well, on a simpler project it works 🤔 I'll leave at that for now

frankitox 2025-07-16T17:50:50.964639Z

When I run the command the logs say > 2025-07-16T17:46:54.751Z WARN [clojure-lsp.feature.command:260] - :add-missing-libspec made no changes react/createRef I have other cljs files that have

(ns other-ns
  (:require
    [react]))
And also on my clj-kondo config
{
  :consistent-alias {:aliases {react react}}
}
Just in case add-missing-libspec picks namespace declaration from the clj-kondo config.