writer
writer copied to clipboard
React in VSCode: Typescript interfaces don't generate useful comments
I can see that typescript types work from the loom demo video, but when I try on typescript interfaces, it doesn't provide any information on the properties, and just says /* Defining the interface for the ... */
Also, for this common syntax:
const ComponentName = (props: ComponentNameProps) => {
it just generates /* A React component that is responsible for ... */. It'd be useful to actually be able to delve into those props and generate useful documentation for it.
Also wanted to add that the auto-indenting would be good