TripleValueCallback type

Defines type describing regular callback with three results - the first one is Error, the other two are the result values.

type TripleValueCallback<TResult1, TResult2> = (
  error?: Error,
  result1?: TResult1,
  result2?: TResult2
) => void