TS-Scribe - v0.6.2
    Preparing search index...

    Type Alias GenericFunction<T, R>

    GenericFunction: (arg: T) => R

    A function type with a generic argument and return type. This type allows you to define a function signature with specific input and output types.

    Type Parameters

    • T

      The type of the function's input argument.

    • R

      The type of the function's return value.

    Type Declaration

      • (arg: T): R
      • Parameters

        • arg: T

        Returns R