Type alias CanonicalResolverFunction<T>

CanonicalResolverFunction<T>: ((key: string) => T | undefined)

Type Parameters

  • T

Type declaration

    • (key: string): T | undefined
    • Type alias for a function that resolves a canonical name to a canonical item, if one exists.

      Parameters

      • key: string

      Returns T | undefined