extends means - it gets all from its parenttype Entry = "In" | "Out"; type InOrOut<T> = T extends `fade${infer R}` ? R : never; // type I = "In" type I = InOrOut<"fadeIn">; // type O = "Out" type O = InOrOut<"fadeOut">;
What's the difference between 'extends' and 'implements' in TypeScript
I would like to know what Man and Child have in common and how they differ. class Person { name: string; age: number; } class Child extends Person {} class Man implements Person {}
https://stackoverflow.com/questions/38834625/whats-the-difference-between-extends-and-implements-in-typescript

Seonglae Cho