// to completion().
private customCompletion(
argv: Arguments,
current: string,
done: CompletionCallback
) {
assertNotStrictEqual(this.customCompletionFunction, null, this.shim);
if (isSyncCompletionFunction(this.customCompletionFunction)) {
const result = this.customCompletionFunction(current, argv);