Skip to content

[V] $alternateType

const $alternateType: AlternateTypeDecorator;

Replace a source type with an alternate type in a specific scope.

context

the decorator context

source

source type to be replaced

alternate

target type to replace the source type or ExternalType object

scope

Names of the projection (e.g. “python”, “csharp”, “java”, “javascript”)