Skip to content

PURISTA API


PURISTA API / @purista/core / InstanceOrType

Type Alias: InstanceOrType<T>

InstanceOrType<T> = T extends Constructor ? InstanceType<T> : T

Defined in: packages/core/src/helper/types/InstanceOrType.ts:3

Type Parameters

T

T