I am using a framework and I am looking at the property (called item) but it gives me no intellisense. Everything else works. After investigating this property to understand why it wasn't giving me feedback I notice that its set like so
item: TG.BaseItem | TG.ClosedItem | any;
collectables.item.#No additional properties shown#
The picture above shows you that completion works on union types in case you help typescript to narrow down the type (further detailes here). As soon as you add the any type to the definition (
| any to line 9), typescript will not be able to give you code completion. Union was created to help replace those annoying any's and narrow down the options. In your case just defining the type to be
any would be equivalent to
BaseItem | ClosedItem | any.