(id: string)
| 49 | }) |
| 50 | |
| 51 | export function getFrameworkById(id: string) { |
| 52 | if (id === 'react-cra') { |
| 53 | return frameworks.find((framework) => framework.id === 'react') |
| 54 | } |
| 55 | |
| 56 | return frameworks.find((framework) => framework.id === id) |
| 57 | } |
| 58 | |
| 59 | export function getFrameworkByName(name: string) { |
| 60 | return frameworks.find( |
nothing calls this directly
no outgoing calls
no test coverage detected