writer icon indicating copy to clipboard operation
writer copied to clipboard

React in VSCode: Typescript interfaces don't generate useful comments

Open briUL opened this issue 3 years ago • 1 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.

briUL avatar Jul 28 '22 15:07 briUL

Also wanted to add that the auto-indenting would be good

briUL avatar Jul 28 '22 15:07 briUL