Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • IForgePluginInterface

Index

Methods

  • getHookListrTasks<Hook>(childTrace: <Args, R>(opts: TraceOptions, fn: (childTrace: <Args extends any[], R = void>(opts: TraceOptions, fn: (childTrace: typeof autoTrace, ...args: Args) => R) => (...args: Args) => R, ...args: Args) => R) => (...args: Args) => R, hookName: Hook, hookArgs: ForgeSimpleHookSignatures[Hook]): Promise<ForgeListrTaskDefinition[]>
  • Type parameters

    Parameters

    • childTrace: <Args, R>(opts: TraceOptions, fn: (childTrace: <Args extends any[], R = void>(opts: TraceOptions, fn: (childTrace: typeof autoTrace, ...args: Args) => R) => (...args: Args) => R, ...args: Args) => R) => (...args: Args) => R
        • <Args, R>(opts: TraceOptions, fn: (childTrace: <Args extends any[], R = void>(opts: TraceOptions, fn: (childTrace: typeof autoTrace, ...args: Args) => R) => (...args: Args) => R, ...args: Args) => R): (...args: Args) => R
        • Type parameters

          • Args: any[]

          • R = void

          Parameters

          • opts: TraceOptions
          • fn: (childTrace: <Args extends any[], R = void>(opts: TraceOptions, fn: (childTrace: typeof autoTrace, ...args: Args) => R) => (...args: Args) => R, ...args: Args) => R
              • (childTrace: <Args extends any[], R = void>(opts: TraceOptions, fn: (childTrace: typeof autoTrace, ...args: Args) => R) => (...args: Args) => R, ...args: Args): R
              • Parameters

                • childTrace: <Args extends any[], R = void>(opts: TraceOptions, fn: (childTrace: typeof autoTrace, ...args: Args) => R) => (...args: Args) => R
                • Rest ...args: Args

                Returns R

          Returns (...args: Args) => R

            • (...args: Args): R
            • Parameters

              • Rest ...args: Args

              Returns R

    • hookName: Hook
    • hookArgs: ForgeSimpleHookSignatures[Hook]

    Returns Promise<ForgeListrTaskDefinition[]>