Open
Description
Just to clarify what's not covered in this PR: the fix only dereferences the top-level union keys, but not nested aliases.
For example:
SomeInterface {
a: number;
b: string;
c: boolean;
}
type AB = "a" | "b";
type C = "c";
export type Test = Pick<SomeInterface, AB | C>;
still produces unexpected "additionalProperties"
Originally posted by @alexchexes in #2230 (comment)