UNPKG

@salesforce/core

Version:

Core libraries to interact with SFDX projects, orgs, and APIs.

8 lines (7 loc) 289 B
/** * From the haystack, will find the closest value to the needle * * @param needle - what the user provided - find results similar to this * @param haystack - possible results to search against */ export declare const findSuggestion: (needle: string, haystack: string[]) => string;