Interface TypeEnumMember

Reflection

never

Hierarchy

Properties

annotations?: any
decorators?: Type[]
default?: (() => string | number)

Type declaration

    • (): string | number
    • Returns string | number

indexAccessOrigin?: {
    container: TypeClass | TypeObjectLiteral;
    index: Type;
}

Set for index access expressions, e.g. Config['property'].

Type declaration

jit?: any

A place where arbitrary jit functions and its cache data is stored.

name: string
origin?: Type
originTypes?: {
    typeArguments: Type[];
    typeName: string;
}[]

type User = {id: number, user: string}; type UserCreate = Pick<User, 'user'>; typeOf().originTypes[0].typeName = 'Pick' typeOf().originTypes[0].typeArguments = [User, 'user']

parent: TypeEnum
scheduleDecorators?: TypeObjectLiteral[]
typeArguments?: Type[]

If the type was created by a type function, this contains the arguments passed the function.

typeName?: string

If the type was created by a type function, this contains the alias name.

Generated using TypeDoc