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