(possibleFeatureName: string)
| 10 | export {renamedFeatures}; |
| 11 | |
| 12 | export function getNewFeatureName(possibleFeatureName: string): FeatureId | undefined { |
| 13 | // @ts-expect-error Useless "no index type" error as usual |
| 14 | const newFeatureName = renamedFeatures[possibleFeatureName] as FeatureId ?? possibleFeatureName; |
| 15 | return importedFeatures.includes(newFeatureName) ? newFeatureName : undefined; |
| 16 | } |
| 17 | |
| 18 | export function getOldFeatureNames(featureName: string): string[] { |
| 19 | const oldNames: string[] = []; |
no test coverage detected