Skip to content

[F] getExtensions

function getExtensions(program, target): ExtensionRecord[]

Get extensions set via the @extension decorator on the given type

Parameters

ParameterTypeDescription
programProgramTypeSpec program
targetTypeType

Returns

ExtensionRecord[]