While using @emotion/styled
in WebStorm, I have noticed that there is no Intellisense for autocomplete within my style object. However, Typescript does seem to be checking to some extent:
const StepTimer = styled.button({
borderRadius: 50,
height: '30px',
blorg: 3, // No TS error for unknown key
display: 1 // TS error for incorrect value type
})
Interestingly, when using VSCode on the same computer, I do get autocomplete suggestions inside the object, although not for values (e.g., options for display
's value like block, inline,
are missing).
I am wondering if there might be a setting that needs adjusting. For reference, I am working on a Mac.