• Creates a function that expands local names from the given base URI, and exports the given local names as properties on the returned object.

    Type Parameters

    • TKey extends string

    • TValue

    Parameters

    • baseUri: string
    • toValue: ((expanded: string) => TValue)
        • (expanded: string): TValue
        • Parameters

          • expanded: string

          Returns TValue

    • Rest ...localNames: TKey[]

    Returns Namespace<typeof localNames, TValue>