function transformResolved

export function transformResolved<Cached extends CacheType>( supportingData: SupportingInteractionResolvedData, data?: APIApplicationCommandInteractionData['resolved'],): CommandInteractionResolvedData<Cached>;

Transforms the resolved data received from the API.

Type Parameters

Cached extends CacheType

Parameters

supportingData: SupportingInteractionResolvedData
Data to support the transformation
optional
data?: APIApplicationCommandInteractionData['resolved']
The received resolved objects