• Creates a function that expands local names from the given base URI into string, and exports the given local names as properties on the returned object. Under the terms property, it exposes the expanded local names as named nodes.

    Type Parameters

    • T extends string


    • baseUri: string
    • Rest ...localNames: T[]

    Returns Namespace<typeof localNames, string> & { terms: Namespace<typeof localNames, NamedNode> }