onCompleteFunctionType type

onComplete function type

type onCompleteFunctionType = (status: boolean, reason?: string) => void