Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SincereCSL/Playgrounds
/ DogInterface
Interface
DogInterface
TypeScript/StudyTypeScript/src/advanced_01.ts:4–6 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2
3
/// 交叉类型 将多个类型组成一个新类型,使用符号 & 表示,取所有类型的并集
4
interface
DogInterface {
5
run(): void
6
}
7
interface
CatInterface {
8
jump(): void
9
}
Callers
nothing calls this directly
Implementers
6
DogA
TypeScript/StudyTypeScript/src/advance
Cat
TypeScript/StudyTypeScript/src/class_0
Log
TypeScript/StudyTypeScript/src/generic
Dog
TypeScript/StudyTypeScript/src/class_0
Dog2
TypeScript/StudyTypeScript/src/class_0
Dog3
TypeScript/StudyTypeScript/src/class_0
Calls
no outgoing calls
Tested by
no test coverage detected