(id: string)
| 155 | } |
| 156 | |
| 157 | export function getFrameworkById(id: string) { |
| 158 | if (id === 'react-cra') { |
| 159 | return frameworks.find((framework) => framework.id === 'react') |
| 160 | } |
| 161 | |
| 162 | return frameworks.find((framework) => framework.id === id) |
| 163 | } |
| 164 | |
| 165 | export function getFrameworkByName(name: string) { |
| 166 | return frameworks.find( |
nothing calls this directly
no outgoing calls
no test coverage detected