Skip to content

Interface: IllegalConstructor<T> ​

Defined in: types/desktop-engine.d.ts:3611

A global class for instanceof, which scripts can't construct

Type Parameters ​

Type Parameter
T

Constructors ​

Constructor ​

ts
new IllegalConstructor(): never;

Defined in: types/desktop-engine.d.ts:3614

Always throws TypeError('Illegal constructor')

Returns ​

never

Properties ​

prototype ​

ts
readonly prototype: T;

Defined in: types/desktop-engine.d.ts:3612

The SDK is released under the Apache License 2.0