class A {
baseField: number;
}
class B extends A {
nonInherited: number;
}
type onlyNonInherited = SelectOnlyNonInherited<B>;
I am looking to define my onlyNonInherited
type as:
interface NonInherited {
nonInherited: number;
}
Can someone assist with the definition of SelectOnlyNonInherited
? I have searched through multiple resources without success :(