ts-type-expand icon indicating copy to clipboard operation
ts-type-expand copied to clipboard

Treeview shows node value, not full type

Open TonyGravagno opened this issue 1 year ago • 0 comments

Note this type definition and assignment: image

And it's rendering: image

This seems related to #331 where in this case "end" is a literal type, not itself a "type".
The actual type of that property is: "bottom" | "top" | "end" | "start" | undefined That's what I expected to see for that property as the type, not the value, which is of type 'end'.

I know this is complex. :)

Here's a similar case: image image

Don't we expect "CSS.Property.BackgroundColor | undefined" there and not the value?

Thanks.

TonyGravagno avatar Aug 31 '23 21:08 TonyGravagno