Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function guessDependencyType (alias: string, manifest: ImporterManifest): DependenciesField | undefined {
return DEPENDENCIES_FIELDS
.find((depField) => Boolean(manifest[depField]?.[alias]))
}