MyToolKit / ui /node_modules /@prisma /get-platform /dist /getNodeAPIName.d.ts
Aero-Ex's picture
Add files using upload-large-folder tool
f5e4fdb verified
Raw
History Blame Contribute Delete
365 Bytes
import { BinaryTarget } from './binaryTargets';
/**
* Gets Node-API Library name depending on the binary target
* @param binaryTarget
* @param type `fs` gets name used on the file system, `url` gets the name required to download the library from S3
* @returns
*/
export declare function getNodeAPIName(binaryTarget: BinaryTarget, type: 'url' | 'fs'): string;