createDesiredPropertiesObject
Documentation / @discordeno/bot / createDesiredPropertiesObject
Function: createDesiredPropertiesObject()
createDesiredPropertiesObject<
T
,TDefault
>(desiredProperties
,defaultValue
):CompleteDesiredProperties
<T
,TDefault
>
Defined in: packages/bot/src/desiredProperties.ts:204
Type Parameters
• T extends object
• TDefault extends boolean
= false
Parameters
desiredProperties
T
defaultValue
TDefault
= ...
Returns
CompleteDesiredProperties
<T
, TDefault
>