mindee
Version:
Mindee Client Library for Node.js
7 lines (6 loc) • 299 B
TypeScript
/**
* Helper to load optional peer dependencies.
* @param packageName The name of the npm package to load
* @param featureName A human-readable name of the feature requiring this package
*/
export declare function loadOptionalDependency<T>(packageName: string, featureName: string): Promise<T>;