[T] BaseUriDecorator
type BaseUriDecorator = (context, target, baseUri) => void;
Set the base URI for any schemas emitted from types within this namespace.
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
context | DecoratorContext | - |
target | Namespace | - |
baseUri | string | The base URI. Schema IDs inside this namespace are relative to this URI. |
Returns
Section titled “Returns”void