Skip to content

Interface: IllegalConstructor<T> ​

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

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:4618

Always throws TypeError('Illegal constructor')

Returns ​

never

Properties ​

prototype ​

ts
readonly prototype: T;

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

The SDK is released under the Apache License 2.0