The location of a function parameter for mapping function call arguments to function parameters.

  • pos contains the position of the function parameter (use -1 for non-existent or non-positional arguments)
  • name optionally contains the name of the function parameter
  • default optionally contains the default value of the function parameter
interface FunctionParameterLocation<T = never> {
    default?: T;
    name?: string;
    pos: number;
}

Type Parameters

  • T = never

Properties

Properties

default?: T
name?: string
pos: number