ScriptComponent.getMain() method

Signature:

static getMain<T extends ScriptComponent>(this: Constructor<T>): T;

Parameters

Parameter

Type

Description

this

Constructor<T>

**Returns:**

T