I'm using Flow types for props in React components. When I'm trying to write something like this:
type Props = {
someArray: Array<number>,
someBoolean: boolean,
Right after I type last comma, it automatically replaces boolean
with Boolean
from capital letter. Since I need to use primitive here instead of wrapper class, I have to rewrite that letter. However it happens every time, so becoming really irritating.
I suppose that it can be fixed in settings, but I could find only suggestions-related options but not about auto replacing. What am I missing?
In your VS code settings.json
you can change editor.acceptSuggestionOnCommitCharacter
to false
and it would then work