( platformId: string, platforms: T, )
| 375 | * Get platform config by ID |
| 376 | */ |
| 377 | export function getPlatformConfig<T extends Record<string, PlatformConfig>>( |
| 378 | platformId: string, |
| 379 | platforms: T, |
| 380 | ): PlatformConfig | null { |
| 381 | return platforms[platformId] || null; |
| 382 | } |
| 383 | |
| 384 | /** |
| 385 | * Get platform icon element |
nothing calls this directly
no outgoing calls
no test coverage detected