Module / v1.0.0-beta.7

@typed/router/TypeFunction

5 unique exports available through this public import path, including their members and aliases.

import * as TypeFunction from "@typed/router/TypeFunction";

Type function application

  • Apply

    type-alias

    Applies a unary type function to an input.

  • Identity

    interface

    The identity type function.

  • InputOf

    type-alias

    Extracts the input supplied to a type function.

  • Pipe

    type-alias

    Applies up to five unary type functions from left to right.

Type function contracts

  • TypeFunction

    interface

    A unary function evaluated by TypeScript rather than JavaScript.