Closed NPellet closed 2 years ago
Subtypes of unions should be considered eligible for asTypeAliasRef in getTypeDefinition
asTypeAliasRef
getTypeDefinition
e.g.
type A = { "prop": string } type B = { "prop": string, "refToA"?: A | null }
should return a reference to A when compiled with --aliasRefs
--aliasRefs
PS: Sorry for the changes introduced by prettier...
Thank you. Please remove the npm lock file.
Sorry, screwed up my last commit.
Coming up
Subtypes of unions should be considered eligible for
asTypeAliasRef
ingetTypeDefinition
e.g.
should return a reference to A when compiled with
--aliasRefs
PS: Sorry for the changes introduced by prettier...