Skip to content

Tl

Unofficial

Minified helper to set a property on an object.

Signature:

function Tl(target: object, propertyName: string, propertyValue: unknown): unknown

Parameters:

ParameterTypeDescription
targetobjectThe object to set the property on.
propertyNamestringThe name of the property.
propertyValueunknownThe value to set.

Returns: unknown — The set property value.