expo-modules-autolinking
Version:
Scripts that autolink Expo modules.
8 lines (7 loc) • 433 B
TypeScript
import { type ResolutionResult } from './types';
import type { RNConfigReactNativeProjectConfig } from '../reactNativeConfig';
interface ResolutionOptions {
shouldIncludeDependency?(name: string): boolean;
}
export declare function scanDependenciesFromRNProjectConfig(rawPath: string, projectConfig: RNConfigReactNativeProjectConfig | null, { shouldIncludeDependency }?: ResolutionOptions): Promise<ResolutionResult>;
export {};