MCPcopy Create free account
hub / github.com/SincereCSL/Playgrounds / CatA

Class CatA

TypeScript/StudyTypeScript/src/advanced_01.ts:28–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 eat() {}
27}
28class CatA implements CatInterface {
29 jump() {}
30 eat() {}
31}
32enum Master { Boy, Girl}
33function getPet(master: Master){
34 let pet = master === Master.Boy ? new DogA() :new CatA();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected