Add TypeScript integrations package
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import type { DiscoveryEngine, IDiscoveryCandidate, IDiscoveryContext } from '../core/index.js';
|
||||
|
||||
export const commandDiscover = async (
|
||||
discoveryEngineArg: DiscoveryEngine,
|
||||
contextArg: IDiscoveryContext = {}
|
||||
): Promise<IDiscoveryCandidate[]> => {
|
||||
return discoveryEngineArg.runActiveDiscovery(contextArg);
|
||||
};
|
||||
Reference in New Issue
Block a user