Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SincereCSL/Playgrounds
/ Obj
Interface
Obj
TypeScript/StudyTypeScript/src/advanced_02.ts:15–18 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
13
14
// keyof T 索引类型的查询操作符
15
interface
Obj {
16
a: number,
17
b: string
18
}
19
let
key: keyof Obj
20
21
// T[K] 索引访问操作符
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected