Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SincereCSL/Playgrounds
/
Class
TypeScript/StudyTypeScript/src/class_02.ts:28–28 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
26
/// 多态
27
28
class
Monkey extends Animal {
29
sleep() {
30
console.log(
'Monkey sleep'
)
31
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected