Skip to content

Documentation / scene / normalizeScriptAttachmentConfig

Function: normalizeScriptAttachmentConfig() ​

normalizeScriptAttachmentConfig(value): unknown[] | Record<string, unknown>

Defined in: libs/scene/src/scene/script_attachment.ts:29

Normalizes a script attachment config into a clone-safe serializable shape.

Parameters ​

value ​

unknown

Returns ​

unknown[] | Record<string, unknown>

Released under the MIT License.