ts-type-forge
    Preparing search index...

    Type Alias Fn<A, B>

    Fn: (arg: A) => B

    Represents a function type that takes an argument of type A and returns a value of type B. Shorter alias for (arg: A) => B.

    Type Parameters

    • A

      The argument type.

    • B

      The return type.

    Type Declaration

      • (arg: A): B
      • Parameters

        • arg: A

        Returns B