Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SincereCSL/Playgrounds
/
Class
TypeScript/StudyTypeScript/src/class_01.ts:23–23 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
21
22
// 类:类的继承
23
class
Husky extends Dog {
24
constructor(name: string, public color: string){
25
super(name)
26
this.color = color
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected