Why I have closed tag for type?

https://youtu.be/Pbr7M4c9O3Q?list=TLPQMDQwODIwMjMkcGNCIeN9Qw&t=1286 I see that when he typing type and press '>' - vs code doesn't close tag for him Is any plugin for that? Usually instead of this:
const [isAuthenticated, setIsAuthenticated] = useState<boolean>(false)
const [isAuthenticated, setIsAuthenticated] = useState<boolean>(false)
I got this
const [isAuthenticated, setIsAuthenticated] = useState<boolean></boolean>(false)
const [isAuthenticated, setIsAuthenticated] = useState<boolean></boolean>(false)
How got first variant without closing tag?
1 Reply
Nikita
NikitaOP16mo ago
I write <> and after if write type <string> Before it I write it like <string and than it cause <string><string/>
Want results from more Discord servers?
Add your server