Interface TypeNumber

Reflection

never

Hierarchy

Properties

annotations?: any
brand?: TypeNumberBrand
decorators?: 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.

kind: number
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?: Type
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