You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import*asReactfrom'react';// not referenced anywhereimportstyled,{StyledComponentClass/* not referenced anywhere */}from'styled-components';exportconstButton=styled.button` background: red;`;
Which leads us having to disable noUnusedLocals from tsconfig.json, which then again hides all unused variables, which is not ideal.
The text was updated successfully, but these errors were encountered:
This is what's causing it:
microsoft/TypeScript#5711
So what we need to do:
Which leads us having to disable
noUnusedLocals
from tsconfig.json, which then again hides all unused variables, which is not ideal.The text was updated successfully, but these errors were encountered: