Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SincereCSL/Playgrounds
/ advanced_01.ts
File
advanced_01.ts
TypeScript/StudyTypeScript/src/advanced_01.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/// 高级类型: 交叉类型与联合类型
2
3
/// 交叉类型 将多个类型组成一个新类型,使用符号 & 表示,取所有类型的并集
4
interface
DogInterface {
Callers
nothing calls this directly
Calls
1
area
Function · 0.85
Tested by
no test coverage detected