MCPcopy Create free account
hub / github.com/experdot/pointer / registerTabType

Function registerTabType

src/renderer/src/utils/tabRegistry.ts:23–25  ·  view source on GitHub ↗
(config: TabTypeConfig)

Source from the content-addressed store, hash-verified

21
22// 注册 tab 类型
23export function registerTabType(config: TabTypeConfig): void {
24 tabTypeRegistry.set(config.type, config)
25}
26
27// 获取 tab 类型配置
28export function getTabTypeConfig(type: string): TabTypeConfig | undefined {

Callers 1

initializeTabTypesFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected