© 2026 Hedgehog Software, LLC
class Person { age: number } class Child extends Person { play() { //... } }
type OnlyChild = { play: () => void }