Type alias ExpandArgs<T>

ExpandArgs<T>: T extends any[] ? ArgsFor<{
    Positional: T;
}> : T extends any ? ArgsFor<T> : never

Converts a variety of types to the expanded arguments type that aligns with the 'Args' portion of the 'Signature' types from ember's helpers, modifiers, components, etc

Type Parameters

  • T

Generated using TypeDoc