Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardTypeScriptpolymorphic thisSingle-choice MCQ

Which is the inferred type T?

class A { self(): this { return this } }\nclass B extends A {}\ntype T = ReturnType<B["self"]>;