⚠️ Internal: This API is not publically exported by the package.
  • Used to avoid wacky immediately-invoked-function-expression syntax. Just calls the function and returns the result.

    Type Parameters

    • T extends (() => unknown)

    Parameters

    • funcToCall: T

    Returns ReturnType<T>