Closed Shrugsy closed 3 years ago
Yeah, there's not really an easy fix for that. The plugin works on AST level (so reaslistically speaking, still on "string level"), and while an interface is easy to parse there, a type like type X = A ? B : C
is impossible to parse to make any sense. What I usually do is move out parts of a type into an interface and reference that.
Yeah, there's not really an easy fix for that. The plugin works on AST level (so reaslistically speaking, still on "string level"), and while an interface is easy to parse there, a type like
type X = A ? B : C
is impossible to parse to make any sense. What I usually do is move out parts of a type into an interface and reference that.
Sounds good to me, thanks
Description
Nested identifiers will work for an
Interface
, but not aType
. The plugin is unable to locate the nested properties for aType
.Example
Working link
Broken link
This would show: