Skip to main content
Version: v2

TypeFactoryInstanceOf Interface

Represents an instanceof type that references a class in the type factory system.

This API is provided as an alpha preview and may change without notice.

To use, import via @fluidframework/type-factory/alpha.

For more information about our API support guarantees, see here.

Signature​

export interface TypeFactoryInstanceOf extends TypeFactoryType

Extends: TypeFactoryType

Properties​

PropertyAlertsModifiersTypeDescription
_kindAlphareadonly"instanceof"The kind of type this represents.
constructorAlphareadonlynew (...args: any[]) => unknownThe constructor to reference.

Property Details​

_kind​

The kind of type this represents.

This API is provided as an alpha preview and may change without notice.

For more information about our API support guarantees, see here.

Signature​

readonly _kind: "instanceof";

Type: "instanceof"

constructor​

The constructor to reference.

This API is provided as an alpha preview and may change without notice.

For more information about our API support guarantees, see here.

Signature​

readonly constructor: new (...args: any[]) => unknown;

Type: new (...args: any[]) => unknown