Interface TypeIndexSignature

Reflection

never

Hierarchy

Properties

annotations?: any
decorators?: Type[]
index: Type
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.

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']

scheduleDecorators?: TypeObjectLiteral[]
type: Type
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