Answer the question
In order to leave comments, you need to log in
Is it possible in webStorm to include the value of a variable when importing in autocompletion (js)?
At the very beginning I do import
import { colors, lineHeights } from '../../../DesignSystem/params';
Answer the question
In order to leave comments, you need to log in
Unfortunately not, since any values of variables (even constants) can only be retrieved at runtime
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question