const [userId, setUserId] = useState<string>('');
So I type this, and when I save the file it turns into that for some weird reason because I almost tried every single prettier option, disabled bracketSpacing etc. no chance. Anyone knows why is this happening?
const [userId, setUserId] = useState < string > '';
2.1m questions
2.1m answers
60 comments
57.0k users