Closed max-programming closed 2 years ago
@max-programming It won't change (as it's dynamically generated anyway) and it's a very opinionated thing. There is setting to change it dynamically so you can check it out and use it.
Gotcha! Thanks @dsznajder
This PR changes the use of
type
keyword tointerface
. Because interfaces are specifically made for objects. Andprops
andstate
(in class components) are objects.It does not make any difference. But as
interface
is used for objects only, it's better to use that instead oftype
.