ScriptComponent.create() method

Creates a new instance of the script component

Signature:

static create<T extends ScriptComponent>(this: Constructor<T>, data?: DataProps<T>): Promise<T>;

Parameters

Parameter

Type

Description

this

Constructor<T>

data

DataProps<T>

(Optional)

**Returns:**

Promise<T>