Type Alias TypeOrDeferredTypeWithArgs<T, ArgsT>

TypeOrDeferredTypeWithArgs<T, ArgsT>: T | ((...args: ArgsT) => T)

Either an immediate value or a value that can be retrieved by calling a function with args

Type Parameters

  • T
  • ArgsT extends any[]